如何自签名Xcode for iPhone? [英] How can I self-sign in Xcode for iPhone?
问题描述
如何使用Xcode自签名iPhone应用程序?我已完成以下操作:
How can I self-sign an iPhone application using Xcode? I have done the following:
-
根据修改了我的
/Developer/Platforms/iPhoneOS.platform/Info.plist
以包括两个键Modified my
/Developer/Platforms/iPhoneOS.platform/Info.plist
to include the two keys< key> PROVISIONING_PROFILE_ALLOWED</key> < string> NO</string> < key> PROVISIONING_PROFILE_REQUIRED</key> < string> NO</string>
<key>PROVISIONING_PROFILE_ALLOWED</key> <string>NO</string> <key>PROVISIONING_PROFILE_REQUIRED</key> <string>NO</string>
我已将与项目关联的info.plist更改为说
I have changed the info.plist associated with the project to say
< key> SignerIdentity</key> < string> Apple iPhone OS应用程序签名</string>
<key>SignerIdentity</key> <string>Apple iPhone OS Application Signing</string>
- 我已将项目属性更改为引用名为iPhone Developer的签名授权机构,这是我的证书的名称.
当前错误为
a valid provisioning profile matching the applications identifier... cannot be found
.注意:我很确定,如果没有Apple提供的$ 99证书,就可以完成此操作.另外,我不是在尝试为模拟器构建程序,而是为iPhone/iPod Touch本身构建程序.
Note: I am pretty sure that this can be done without a $99 cert from Apple. Also, I am not trying to build for the simulator but rather for the iPhone/iPod Touch itself.
任何见识都会受到赞赏.
Any insight would be appreciated.
推荐答案
您是否尝试过 http: //iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile ?您提供的链接仅适用于SDK 2.x.
Have you tried http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile? The link you've provided only works for SDK 2.x.
这篇关于如何自签名Xcode for iPhone?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!