08th Sep 2009
iPhone Application Deployment Steps
Following steps may help you deploying your application successfully on the device.
- Download your .mobileprovision and .cer certificates from developer.apple.com website.
- Add the certificates to your keychain in Mac.
- Add your mobile provision certificate in Xcode project. Drag the certificate to Xcode in left pane of window and drop there.
- Select the Project and go to Edit Project Settings

- Select Build Tab
- Select Configuration as Release
- Go to code signing
- Add your certificate in Any iPhone OS Device section
- When you add certificate in for Code Signing Identity, then it must be in list of Any iPhone OS Device option.

- Follow same steps for Debug configuration also.
- Do same change for Debug and Release configuration in Edit Active Target “Project Name” setting also

- Edit the ProjectName-info.plist file in resources group and change the company name with yourcompany name on which you have registered your certificate in following value com.digicorp.${PRODUCT_NAME:rfc1034identifier} and save the project.

- To solve invalid entitlement issue first right click on application and add new file
- Under the iPhone OS select Code Signing
- Select the Entitlements
- Make sure it is saved as Entitlements.plist

- Now uncheck the box of get-task-allow property in Entitlements.plist

- Set the Any iPhone OS Device with saved entitlements certificate under Code Signing Entitlements for Debug and Release configuration.

- Set the device OS for which you want to deploy your application from top left bar of Xcode window.
- Save the Project and Build it.
It will successfully deploy your application on device.
Leave a Reply