1. Mac
  2. Generating Certificates

Generating Certificates

One of the requirements to run apps on macOS, is that the app has to be signed and notarized. In order to sign and notarize the app, two certificates must be generated by your Apple ID (Account Holder)

  • Developer ID Application

  • Developer ID Installer


Generating with XCode

To generate both the Developer ID Application and Developer ID Installer certificate, it can be done using Xcode by following the steps below:

  1. Launch XCode on your mac.

  2. Open the XCode Preferences page or hit (cmd + ,)

  3. Click on the Accounts tab.

    XCode Accounts

  4. Click on the + icon on the bottom left to link your Apple ID. Enter your Apple ID and Apple ID password.

    XCode Apple ID

  5. Once your Apple ID is linked to XCode, click on the Manage Certificates button on the bottom right of the screen as shown below:

    XCode Manage Certificates

  6. A popup will appear to display the list of certificates associated with your Apple ID. Click on the + button to generate the certificates.

    XCode Generate Certificates

  7. You will need to generate both Developer ID Application and Developer ID Installer. Repeat steps 6 to generate both.

  8. Once the certificates are generated, open up the KeyChain.app app on your Mac.

  9. Select both of the generated certificate by hitting the (cmd) button and clicking on both.

    Keychain Export

  10. A prompt will appear requesting you to enter the password for the certificate. Enter a password to protect this certificate and save this password. This will be stored in the Digital Certificate Password settings.

This article is separated into multiple sections as follow: