-
-
Save flufy3d/3154678 to your computer and use it in GitHub Desktop.
xcode4.3.3 real debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://kqwd.blog.163.com/blog/static/4122344820117191351263/ | |
http://stargrain.iteye.com/blog/1601170 | |
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk | |
sudo vim SDKSettings.plist | |
此时进入vim文件编辑状态(会提示password 输入Mac登陆密码后回车) | |
(注:i 进入Insert状态,修改完成后按ESC键退回到命令状态,Q退出 :w 保存 :q 退出) | |
修改 | |
<key>CODE_SIGNING_REQUIRED</key> | |
<string>NO</string> | |
<key>ENTITLEMENTS_REQUIRED</key> | |
<string>NO</string> | |
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform | |
sudo vim info.plist | |
修改文件内三处<string>XCiPhone iOS CodeSignContext</string>为<string>XCCodeSignContext</string> | |
在最后</dict>前添加 | |
<key>PROVISIONING_PROFILE_ALLOWED</key> | |
<string>NO</string> | |
<key>PROVISIONING_PROFILE_REQUIRED</key> | |
<string>NO</string> | |
修改完成后保存 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment