Skip to content

Instantly share code, notes, and snippets.

@cdfmr
Created March 7, 2012 12:16
Show Gist options
  • Save cdfmr/1992771 to your computer and use it in GitHub Desktop.
Save cdfmr/1992771 to your computer and use it in GitHub Desktop.
Fix debug authorization of Xcode 4 after upgrading to Lion 10.7.3
--- /etc/authorization.bak 2012-03-07 10:44:43.000000000 +0800
+++ /etc/authorization 2012-03-07 10:50:41.000000000 +0800
@@ -7568,7 +7568,7 @@
<key>allow-root</key>
<false/>
<key>class</key>
- <string>user</string>
+ <string>rule</string>
<key>comment</key>
<string>For use by Apple. WARNING: administrators are advised
not to modify this right.</string>
@@ -7698,12 +7698,16 @@
<key>zh-Hant</key>
<string>“__APPNAME__”需要控制另一個程序才能繼續除錯。</string>
</dict>
- <key>group</key>
- <string>_developer</string>
<key>shared</key>
<true/>
- <key>timeout</key>
- <integer>36000</integer>
+ <key>k-of-n</key>
+ <integer>1</integer>
+ <key>rule</key>
+ <array>
+ <string>is-admin</string>
+ <string>is-developer</string>
+ <string>authenticate-developer</string>
+ </array>
</dict>
<key>system.privilege.taskport.safe</key>
<dict>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment