Starting with Twixl Publisher 12.0, the process to build and sign your iOS app is easier than ever! This KB-article explains you what you need to do.
Apple built a security model for iOS that requires a combination of a security certificate and a private key in order to 'codesign' apps and be able to either install them on an iPad or iPhone outside of the App Store, or to submit them to the App Store.
Below we are describing the steps required to create your own provisioning profiles. More detailed documentation about provisioning profiles is available from Apple's developer portal.
1. Delete your old certificates
If you've built (Twixl) apps before, you have existing iOS Developer or Distribution certificates. Starting with Twixl Publisher 12, you need Apple Developer or Distribution certificates. Therefore we strongly advise you to get rid off your old certificates and start all over. If you are new to Twixl and never built apps before, you can skip this step and move forward to step 2. If you did build apps before, you need to:
- Delete all your old iOS Developer and Distribution certificates in your Keychain Access app
- Revoke all your old iOS Developer and Distribution certificates on the Apple Developer Portal
ABOUT DELETING OLD CERTIFICATES:
Deleting and revoking your old certificates will not have any influence on your existing published iOS apps. It will only influence the build-process for new apps (and updates of existing apps).
2. Obtain and install the necessary certificates
Make sure you are logged in as an Apple Developer in Xcode. For more info on how to do that, see this KB-article.
After you've logged in Xcode, it's time to get the necessary certificates.
- Launch Xcode
- Go to the Preferences...
- Select the Account tab
- Select your account
- Select the appropriate Team and click on Manage Certificates...
- Click on the
+icon and select the type of certificate you need, depending on the Build Type. For more info about Build Types, see this KB-article.
- Xcode will do the signing request, get and download the certificate and add it to your Keychain! We told you we made it easier!
Twixl Publisher uses Development certificate and Development provisioning profiles for testing purposes, and a Distribution certificate and Distribution provisioning profile for Ad Hoc and App Store distribution.
3. Create an App ID
- Login to Apple's Developer Member Center, then select "Certificates, Identifiers & Profiles".
- Click the "How To" tab to get information on how to generate a certificate signing request and download an Apple Distribution certificate. Although the "How To" may describe the procedure for obtaining a Development certificate, it is exactly the same for obtaining a Distribution certificate.
- At the end of this procedure, you will need to have downloaded and installed a Distribution certificate. A Distribution certificate identifies your development team. When it’s stored in your keychain, it includes the team’s private key.
An App ID consists of a universally unique 10 character "Bundle Seed ID" prefix generated by Apple and a "Bundle Identifier".
The recommended practice is to use a reverse-domain name style string for the "Bundle Identifier" portion of the App ID, e.g.
Again, you'll find more information in the "How To" tab.
4. Assign the devices
Now you need to assign the devices you want to use for your Ad Hoc builds.
Locate the Unique device ID in Xcode (click on "Serial Number" and the Identifier will be displayed - copy the UDID via cmd-C). Now add the UDID(s) to the 'Devices' section of the iOS Provisioning Portal. You'll find more information about this via the "How To" tab.
Adding these devices is only required for creating Development or Ad Hoc test builds for internal use.