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

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.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • HackerNews
  • Ping.fm
  • Posterous
  • Propeller
  • Reddit
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks

Leave a Reply