Add a public key to your app

To establish trust between your app and our service, the Frameworks needs a public key that is unique for every app.

Register the macOS app in the Setapp developer account and generate a public key

  1. Go to the Apps page of your developer account and click New version on your app.
  2. On the right side of Release info, you can find a notion For macOS library 2.0.0 and higher, find a public key here..
  3. Click the link and download the public key.

Add the public key to your project as a resource

The public key is used to operate with the data received from the Setapp system. The public key is unique for every app in the Setapp suite and is an essential part of the Framework's security.

To add a public key to your project in Xcode, simply drag the setappPublicKey.pem key file to the navigator area. A new dialog box appears. Select the "Copy items if needed" checkbox at the top of the dialog box.

❗️

You can only use this public key filename for macOS applications: setappPublicKey.pem. Add the public key in the main bundle of the target Setapp framework linked to.

❗️

Please note that public keys for iOS & macOS platforms differ.