Xcode 6 - How to Pick Signing Certificate/Provisioning Profile for Ad-Hoc Distribution

Xcode 6 - How to pick signing certificate/provisioning profile for Ad-Hoc distribution?

I was facing same issue, resolved using command line "xcodebuild" tool script, which is preinstalled with Xcode 6 (didn't need to re-install Xcode 5).

http://www.thecave.com/2014/09/16/using-xcodebuild-to-export-a-ipa-from-an-archive/

Script in terminal:

xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile 'Provisioning Profile Name'

XCode 6 and Ad-Hoc distribution without XC: provisioning

I have a workaround for this that works for me.

I have both Xcode 6 and Xcode 5.1.1 installed, Xcode 6 is in Applications and Xcode 5.1.1 is in another directory. When I want to do a build I use Xcode 6 to create the Archive. But you can also see the created Archive in Xcode 5.1.1 so I use Xcode 5.1.1 to distribute the Ad Hoc .ipa using the provisioning profile that I want to use. So build using Xcode 6 but distribute using Xcode 5.1.1. It works for me.

iOS Ad-Hoc Distribution: Can't sign provisioning profile with distribution certificate in Xcode


  • First Both your certificates and Provisioning Profile should be of Ad-hoc Distribution type.
  • Make sure you are using same certificate requested by your system (Request a Certificate from Certificate Authority, we do from keychain)

About distribution certificate (with private key) in keychain

For question 1

Yes, distribution certificate is used for uploading app to apple store. And development for running on device or sending build.

For question 2

Yes, you can simply revoke his certificate. And create new one. That way your previous developer certificate are not required. Moreover, he wont be able to use them anymore and you can create new one and keep your certificate on apple developer account clean.

Hope it clears your doubt.

Can I use an Development certificate along with adhoc distribution provisioning profile to distribute my app to specific user?

The short answer: you'll need a distribution certificate, with an ad-hoc provisioning profile that contains the target device's UDID. You can configure this on the dev portal.

Development certificates are purely for device development at your own machine. It does give you access to a limited number of devices to build your app on, but it isn't ideal for beta testing an app on.

Distribution certs and ad-hoc profiles are most commonly used with services like Fabric to beta test your app. You may also want to look into TestFlight to help distribute for beta testing.

Good luck!



Related Topics



Leave a reply



Submit