Login

Learning & Support

Documentation

iOS: Manage signing certificates for your apps

Twixl Support Team Updated: - Created :

    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 these apps to the App Store.

    Below are the steps required to obtain and install that combination. More detailed documentation about certificates, identifiers and provisioning profiles is available from Apple's developer portal.

    1. Obtain and install the necessary certificates

    REQUIREMENTS:

    Make sure you are logged in as an Apple Developer in Xcode. For more info on how to do that, see this article.

    After you've logged in Xcode, it's time to get the necessary certificates.

    1. Launch Xcode
    2. Go to the Preferences...
    3. Select the Account tab
    4. Select your account
    5. Select the appropriate Team and click on Manage Certificates... (Note that Distribution certificates belong to the team but only the Account Holder or Admin role can create distribution certificates. If you’re enrolled as an individual, you are the Account Holder).
    6. 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 article.
    7. Xcode will do the signing request, get and download the certificate and add it to your Keychain! We told you we made it easier!
    Add Certificates

    IMPORTANT NOTE

    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.

    2. For existing customers only: delete your old certificates

    To avoid running into any issues while building your app, if you created (Twixl) apps before, you may have existing iOS Developer or Distribution certificates (you'll find these in the login keychain, under the section 'My Certificates'). Starting with Twixl Publisher 12, you need Apple Developer or Distribution certificates. Therefore we strongly advise you to delete your old certificates and start all over. To do this, you need to:

    1. Delete all older iOS Developer and Distribution certificates in your Keychain Access app (found in /Applications/Utilities)
    2. Revoke all your old iOS Developer and Distribution certificates on the Apple Developer Portal

    Deleting and revoking your old certificates will not have any influence on your existing iOS apps. It will only influence the build process for new apps (and updates of existing apps).

    3. Create an App ID

    1. Obtain your iOS Distribution Certificate
    1. Login to Apple's Developer Member Center, then select Certificates, Identifiers & Profiles.
    2. In the left column, click on Identifiers.
    3. Next, click on + to add an Identifier
    4. Choose App IDs
    5. Choose App
    6. Enter a Description, a Bundle Identifier (type Explicit). As an option you can activate Push Notifications (see this Chapter for more info).  

    ABOUT AN APP ID

    • An App ID consists of a 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. com.yourdomain.yourapp.

    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. 


    IMPORTANT NOTE:

    Adding these devices is only required for creating Development or Ad Hoc test builds for internal use.

    5. Building your app

    You are now ready to prepare the build of your Twixl App:

    Was this article helpful?

    1 out of 4 found this helpful