Provisioning a macOS Application

From RAD Studio
Jump to: navigation, search

Go Up to MacOS Application Development


Apple requires you to code sign your macOS applications in order to submit them to the Mac App Store.

Prerequisites

Before you can code sign your application you must be part of the Apple Developer Program. Join the Apple Developer Program if you have not joined the program yet.

Obtaining Your Certificates

To code sign your application specific certificates are required. Use Xcode on the Mac or the Mac App Developer Certificate Utility to obtain the following certificates:

  • A 3rd Party Mac Developer Application certificate
  • A 3rd Party Mac Developer Installer certificate

After you download your certificates, double-click the downloaded .cer files to install them onto your Keychain.

Configuring Your Signing Data on RAD Studio

With your application open in RAD Studio, select Project > Options > Provisioning. Here you must enter your Mac App distribution and Mac Installer certificates for the Application Store macOS platform configuration.

Note: You can configure your default signing data from Tools > Options > Environment Options > Provisioning. If you do not configure your signing data for your new project, RAD Studio uses the default signing data instead.
Note: Wildcard definitions are no longer supported by Xcode in provisioning profiles.
Tip: If after creating a new provisioning profile you get building errors for iOS, create a new iOS provisioning profile and reset the project option deployment in RAD Studio.

See Also