Download the Apple Developer Certificate
To download the Apple developer certificate, follow these steps:
Step 1: Using Terminal
1. Open the Terminal and execute the following command:
security find-identity -v -p codesigning | head -1 | cut -d\ -f 5- |
If the result is empty, then follow Step 2 to get Apple Developer Certificate.
Step 2: Using Xcode
1. Launch Xcode on the mac device.
2. Navigate to the Xcode > Preferences.
3. Click Accounts from the top of the window.
4. Click + and select Apple ID.
Note: Select this option if an Apple ID has not been added.
5. Enter the Apple ID, Password, and click Sign in.
Note: Users can create an account if they don't have one.
6. From the right sidebar, select your team, Apple ID and click Manage Certificates.
7. Click + on the lower left corner and select Apple Development.
8. Click Done to create the Apple Developer Certificate.
Verify the Apple Developer Certificate in Keychain Access
1. Open the Keychain Access from the Launchpad.
2. On the left side of the window, select Login as Default Keychains.
3. Select My Certificates from the top menu to add the certificate.
4. If the created certificate is not trusted, download and install the certificate from here.
The next step is to download the Mobileprovision file.