How can I self-sign an iPhone application using Xcode? I have done the following:
-
Created a cert following these instructions
-
Modified my
/Developer/Platforms/iPhoneOS.platform/Info.plistto include the two keys<key>PROVISIONING_PROFILE_ALLOWED</key>
<string>NO</string>
<key>PROVISIONING_PROFILE_REQUIRED</key>
<string>NO</string> -
I have changed the info.plist associated with the project to say
<key>SignerIdentity</key>
<string>Apple iPhone OS Application Signing</string>
- 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 identifier... 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.
Have you tried http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile? The link you’ve provided only works for SDK 2.x.