Ios Provision Cheat Sheet

From WikiOD

Here is the cheatsheat of Ios Provision and basic guide on how to use Ios Provision

Types of profiles[edit | edit source]

  • Development - deploy to an iPhone via XCode
  • Adhoc - deploy via testflightapp.com
  • Appstore - only used for submitting to the app store

Requirements[edit | edit source]

What Dev Adhoc Appstore
CSR file
Device UDIDs
Developers list

Obtaining a CSR file[edit | edit source]

Needed for Adhoc & Appstore builds.

  • Open Keychain Access.app
  • Keychain Access menu -> Certificate Assistant menu -> Request a certificate…
    • User email address is your email
    • Common name is your name
    • CA Email address is blank
    • Request is Saved to disk

Get the .cer files[edit | edit source]

Needed for Adhoc & Appstore builds.

  • in the iOS dev portal, go to Certificates, and download the certificate.

Install it on the dev machine.

Obtaining device UDIDs[edit | edit source]

Needed for Dev and Adhoc builds.

For developers[edit | edit source]

Don’t ever ask Xcode to Fix issue… for you.

Using a provisioning profile[edit | edit source]

No need to use .mobileprovision files since XCode 5.

  • Open the *.mobileprovision file using Finder
  • XCode Project -> Build settings tab -> Code signing section -> Provisioning Profile section
    • Set Debug to the development profile
    • Set Release to the ad-hoc profile

Building an .ipa (Adhoc or Appstore)[edit | edit source]

  • In the toolbar, select “iOS Device” as the target
  • Product menu -> Archive
  • In the Organizer (Cmd+Shift+2) -> Archives tab -> Distribute… button

Credit:rstacruz