How to Create an iOS Development Certificate and Wildcard Provisioning Profile

Modified on Sun, Jun 14 at 3:51 PM

Overview

This guide explains how to create an iOS Development Certificate, export it as a P12 file, and generate a Wildcard Provisioning Profile through the Apple Developer Portal. These files are required for signing and installing iOS applications during development and testing.

Prerequisites

Before you begin, ensure you have:

  • Device UDIDs for any test devices that need to be included in the provisioning profile.

  • Permissions to create certificates and provisioning profiles within the Apple Developer account.

Part 1: Create an iOS Development Certificate

Step 1: Create a Certificate Signing Request (CSR)

  1. Open Keychain Access on your Mac.

  2. Navigate to:

    Keychain Access → Certificate Assistant → Request a Certificate From a Certificate Authority

  3. Enter the following details:

    • Email Address: Your Apple Developer account email

    • Common Name: Your name or company name

  4. Select Saved to disk.

  5. Click Continue.

  6. Save the CSR file.

Recommended filename:

ios_cert_request.csr


Step 2: Create an Apple Development Certificate

  1. Navigate to the Apple Developer Portal:

    https://developer.apple.com/account

  2. Sign in using your Apple Developer account.

  3. Open Certificates, Identifiers & Profiles.

  4. Select Certificates.

  5. Click the + button.

  6. Select iOS App Development.

  7. Upload the CSR file created in the previous step.

  8. Generate the certificate.

  9. Download the generated .cer file.


Step 3: Install the Certificate

  1. Double-click the downloaded .cer file.

  2. The certificate will automatically be installed in:

    Keychain Access → Login → Certificates

  3. Verify that the certificate appears as:

    Apple Development: Your Name

  4. Ensure a private key is attached beneath the certificate.


Step 4: Export the Development Certificate as P12

  1. Open Keychain Access.

  2. Navigate to:

    Login → Certificates

  3. Locate:

    Apple Development: Your Name

  4. Expand the certificate to view the attached private key.

  5. Right-click the certificate.

  6. Select Export.

  7. Save the file as:

    ios_development.p12

  8. Create and confirm a password when prompted.


Part 2: Create a Wildcard App ID

Step 5: Create a Wildcard App ID

  1. Navigate to:

    Apple Developer Portal → Identifiers

  2. Click the + button.

  3. Select App IDs.

  4. Configure the App ID:

    • Type: App

    • Bundle ID: com.*

    • Description: Wildcard Development App

  5. Save the App ID.


Part 3: Register Test Devices

Step 6: Register Device UDIDs

  1. Navigate to:

    Apple Developer Portal → Devices

  2. Click the + button.

  3. Add the UDID for each device that will be used for testing.

  4. Save the device registrations.


Part 4: Create a Wildcard Development Provisioning Profile

Step 7: Create a Development Provisioning Profile

  1. Navigate to:

    Apple Developer Portal → Profiles

  2. Click the + button.

  3. Select iOS App Development.

  4. Select the previously created Wildcard App ID:

    com.*

  5. Select the Apple Development certificate.

  6. Select the test devices that should be included.

  7. Enter a profile name.

Recommended name:

Wildcard_Dev_Profile

  1. Click Generate.

  2. Download the generated .mobileprovision file.


Step 8: Install the Provisioning Profile

  1. Double-click the downloaded .mobileprovision file.

  2. Xcode will automatically install the provisioning profile.

Outcome

Upon completion of this guide, you will have:

  • An Apple Development Certificate.

  • An exported P12 certificate file.

  • A Wildcard App ID.

  • Registered test devices.

  • A Wildcard Development Provisioning Profile.

  • A fully configured signing setup for iOS development and testing.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article