iPhone Application Deployment Steps

September 8th, 2009 by vivek.navadia § 1

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

1_New

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

2

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

3

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

4

  • 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

5

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

6

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

7

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

Tagged: , , ,

§ One Response to “iPhone Application Deployment Steps”

  • Thanks so much for your intelligent article;this is the words that keeps me awake through out the day. I’ve been searching around for your site after being referred to them from a colleague and was pleased when I was able to find it after searching for long time. Being a avid blogger, I’m blessed to see others taking initivative and contributing to the community. Just wanted to comment to show my approval for your blog as it is very encouraging, and many writers do not get credit they deserve. I am sure I’ll visit again and will recommend to my friends.

  • § Leave a Reply

What's this?

You are currently reading iPhone Application Deployment Steps at Digicorp.

meta

Share