Signing your iOS App correctly for AdHoc testing can be tricky. One misstep and your testers won’t be able to install the app on their devices and you’ll be back at square one trying to get it working. If, however, you follow this guide step-by-step, you can’t go wrong.
Part One – Setup a Distribution Certificate [Once Only]
The first thing you need to do is create a ‘Distribution’ certificate. You only need to do this once – the same certificate will be used for every App you want to distribute AdHoc. It will also be used for Distribution to the iTunes Store. XCode will prompt you to create these if you enter your team details in the ‘Accounts’ section. If you already have a valid Distribution certificate, skip to Registering an App ID.
1) Login to ‘Certificates, Identifiers & Profiles‘ in the Apple Developer Portal.
7) Once the Certificate has downloaded, open it to install it in your Keychain. If you open Keychain Access, you’ll see the ‘iPhone Distribution: Your Company Name (XXXXXXX)’ certificate in your ‘My Certificates’ tab.
Part 2 – Registering an App ID
The next step is to set up your ‘Identifier’ – which is really your application.
That’s it! You can now create your AdHoc Provisioning Profile.
Adding A Device [Usually Not Needed]
Since Installr will manage adding devices to your Apple Developer Portal and Provisioning Profile, you don’t need to worry about adding a device. However, you do need to have at least one device to create a Provisioning Profile. If you already have a Device in your Apple Developer Portal (XCode will usually add one for you), you can skip to Creating an AdHoc Provisioning Profile
Since you are using Installr, this is the last time you’ll need to manually add a device to your Apple Developer Portal.
Part 3 – Creating an AdHoc Provisioning Profile
8) Open the downloaded .mobileprovision file to install it on your machine. You are now ready to build your IPA!