开发者

How can I self-sign in Xcode for iPhone?

How can I self-sign an iPhone application using Xcode? I have done the following:

  1. Created a cert following these instructions

  2. 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>

  3. I have changed the info.plist associated with the project to say

<key>SignerIdentity</key> <string>Apple iPhone OS Application Signing</string>

  1. I have changed the project properties to refer to the signing authority with the name iPhone Developer, which is the name of my certificate.

The error is currently a valid provisioning profile matching the applications id开发者_StackOverflowentifier... cannot be found.

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.

Perhaps Relevant link.


Have you tried http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile? The link you've provided only works for SDK 2.x.


The error message is because you do not have the proper provisioning profile through the developer site of Apple, which follows from paying the $99 yearly. It may somehow work on a jail broken device which is not how Xcode is designed to be used.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜