Share this page

# iOS assets for signing apps

Code signing your app assures users that it is from a known source and that it hasn't been modified since it was last signed. Before your app can be installed on a device, it must be signed with a certificate and provisioning profile issued by Apple. The certificate and provisioning profile provide the identity of the developer, and the list of devices on which distribution of the app is allowed.

In this topic:

## Generate a development certificate

The steps below describe how to generate a development certificate of an Apple Developer account.

1. Launch Keychain Access on your Mac.

2. In the Keychain Access drop-down menu, select Certificate Assistant > Request a Certificate From a Certificate Authority.

3. Generate a Certificate Signing Request

   1. Fill in your name and email.

   2. Select Saved to disk and click Continue. A .certSigningRequest (*.csr) file is generated.

4. Save the certificate file in a temporary folder on your Mac desktop.

5. Navigate to http://developer.apple.com. Enter your credentials and sign in to Apple Developer.

6. Select Certificates, Identifiers & Profiles.

7. In the Certificate section, select All.
8. Click the + (Add) button.

9. When you are prompted to indicate the type of certificate, select iOS App Development and click Continue. Click Continue again in the next screen.

10. Click Choose File and locate the *.csr file created above. Click Generate.

11. Click Download to save the certificate you created to your machine. Save it as ios_development.cer.

12. Click Done to finish the generation of the Development certificate.

13. Find the ios_development.cer in Finder. Double-click on the file to import it to Keychain Access.

14. Open Keychain Access. Under login > My Certificates, make sure the certificate is valid, with private key enabled.

Back to top

## Prepare to create a provisioning profile

Provisioning profiles allow you to install apps on your iOS devices. A provisioning profile requires an App ID, device identifier (UDID), and a developer certificate.

Each device under test must be included in the provision profile—its UDID must be included in list of devices.

Note: The provisioning profile is a required for submitting your app to the App Store.

This section describes how to create an App ID and obtain a UDID. For details about generating a Developer certificate, see Generate a development certificate.

Create an App ID

The first step in preparing for a provisioning profile is creating an App ID. You should create a wildcard App ID which allows you to match all bundle IDs, and include all the required app services.

To create a App ID:

1. Open a browser and sign into the Apple Developer site.
2. Navigate to Certificates, Identifiers & Profiles.

3. Select Identifiers > App IDs in the navigation pane and click the + (Add) button to add a new Identifier.

4. In the Register a New Identifier section, select App IDs.

5. In the Register an App ID section, enter a description for the App ID in the Description field.

6. For the Bundle ID, select Explicit or Wildcard.

   - Select Explicit if you intend to use entitlements.
   - Select Wildcard if you want to use the same provisioning profile for all apps that include iOS agents. Enter a domain and sub-domain followed by an asterisk (*). A standalone asterisk is not supported.

7. In the Capabilities section, select all the capabilities that you would like to enable in your app.

8. Click Continue, then Register, then Done to complete the creation of the App ID.

Create and register a UDID

This section describes how to get a UDID (Unique Device ID) of the device you want to include in the provision profile.

To obtain and register the device's UDID:

1. Physically connect your iPhone device to your MacBook.
2. Start iTunes.
3. Locate your device in the list of devices and click it to get the device ID. Copy it to the clipboard.
4. Navigate to Devices > iPhone and click + (Add) in the upper right-hand corner.
5. Choose Register Device. Give the device a name and paste in the device UDID you got from iTunes.
6. Click Continue.

Back to top

## Generate a development provisioning profile

Once you have created an App ID, obtained a UDID, and signed a certificate, you can generate a development provisioning profile.

To generate a provisioning profile:

1. Open a browser and log in to Apple Developer.
2. Navigate to Provisioning Profiles > Development.
3. Click the + (Add) button in the upper right-hand corner.
4. In the Development section, select iOS App Development. This indicates that you are creating a provisioning profile for development purposes. Click Continue.
5. Choose the wildcard App ID, defined earlier. Click Continue.
6. Select your development certificate. Click Continue.
7. Select the devices you want to include in the provisioning profile. Make sure the UDIDs of your test devices are included and selected. Click Continue.
8. Provide a name for the profile. Click Continue.
9. Click Download. After the download, click Done.

Back to top

See also:

- Re-sign the Agent apps
- Troubleshooting tips and tricks for iOS devices
- Troubleshoot
- Automatic signing services

https://admhelp.microfocus.com/Functional Testing Lab 8942
Tips to improve your search results... OpenText™ Functional Testing Lab for Mobile and Web Help Center OpenText™ Functional Testing Lab Help 25.2 All View Local Help Center View Online Help Center Version: