Tag Archive for 'Distribution'

Can’t Select Distribution Provisioning Profile in Xcode

If you can’t seem to select the Distribution Provisioning Profile when you’re trying to sign your iPhone app for distribution on the AppStore, here’s a tip:  Check your Keychain Access application, under “Keys” on the left hand side to make sure you have a public and private key for the certificate you request in step 1 of the process.

If you don’t have these keys, remove your certificate from Keychain and remove your provisioning file (from ~/Library/MobileDevice/Provisioning Profile). Installing the same old certificates over and over will NOT help — you have to remove them all from your system and invalidate the certificate and distribution profile on the Apple Developer Connection page, then start the process over again.  When you generate the initial request and upload the certificate request to Apple’s site, check Keychain Access for the the public/private keys — if they’re there, you’re on the right track.

From there, clean your build and follow the instructions on Apple’s site and you’ll be good to go.  Make sure you close xcode prior to installing the provisioning profile again (I just copied mine to the directory instead of dragging it onto xcode or itunes).