我们过去常常通过将 CODE_SIGNING_REQUIRED
设置为 NO
来修改 SDKSetting.plist 以允许构建未签名的应用程序。
但是从 xcode 4.5 开始,这个文件似乎是加密的(这是它的路径:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/SDKSettings。 plist
).
有人知道如何为 iOS6 构建未签名的应用程序吗?
最佳答案
sudo cp /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/SDKSettings.plist ~/Downloads
sudo chmod 777 ~/Downloads/SDKSettings.plist
打开 ~/Downloads/SDKSettings.plist
在XCode弹窗中编辑
sudo mv ~/Downloads/SDKSettings.plist /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/SDKSettings.plist
- 重启xcode
关于xcode - 使用 xcode 4.5 for iOS6 绕过代码签名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12456112/