2

我们曾经修改 SDKSetting.plist 以允许构建未签名的应用程序,方法是设置CODE_SIGNING_REQUIREDNO.

但是从 xcode 4.5 开始,这个文件似乎是加密的(这是它的路径:)/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/SDKSettings.plist

有人知道如何为 iOS6 构建未签名的应用程序吗?

4

4 回答 4

6

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
于 2012-09-23T00:51:27.953 回答
1

首先退出Xcode,

然后在终端执行

sudo vim /Applications/Xcode.app/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/SDKSettings.plist

使用箭头键(或kj)导航,然后按i进行编辑。进行更改,然后按 Escape,然后按:wq

启动 Xcode

于 2012-10-12T21:20:31.733 回答
0

我设法从另一台计算机上的另一个 XCode 编辑文件。

于 2012-09-17T16:14:22.150 回答
0

除了编辑SDKSettings.plist,您还可以只xcodebuild传递CODE_SIGNING_REQUIRED=NO.

于 2014-02-09T20:44:32.513 回答