Notarizing your OS or OS X–Based Installers and Including Authentication Support

InstallAnywhere 2024 R2

The process of notarizing your authentication wrappers, your installers, and your uninstallers varies, depending on whether you are performing the notarizing step at build time on the InstallAnywhere build machine or on a separate designated notarization machine.

Important:If you want to notarize the application, you must code sign your installer.

To configure your InstallAnywhere project to notarize your build output and include authentication support:

1. In the Advanced Designer, on the Project page, click Platforms. The Platforms view opens.
2. In the OS X area, in the Code Signing setting, select the Code Sign the Generated Installer check box.
3. Specify the location and password of the certificate.
a. For the PKCS #12 File setting, specify the fully qualified path for your PKCS #12 file (.p12).
b. In the Keystore Password setting, specify the certificate’s password.
4. In the OS X area, in the App Notarization setting, select the Notarize the Generated Installer check box.
5. Specify the username and password for your notarization.
a. For the Developer Username setting, specify the apple’s username for your notarization.
b. In the Developer App Specific Password setting, specify the app specific password of your application.
c. In the Team Identifier setting, specify the team identifier Information from the Apple Developer certificate.
d. In the Notarization Response Timeout(min) setting, specify the notarization response timeout for your application.
e. In the Notarization Process Delay Interval(sec) setting, specify the notarization process delay wait time for your application.

For more information on App Notarization setting, see App Notarization.

Command for Notarization

The following are examples of notarization:

Commands for Notarization (Xcode 13 and Above)
Commands for Notarization (Below Xcode 13)

Commands for Notarization (Xcode 13 and Above)

The following are examples of commands for notarization for Xcode 13 and above:

Commands for Notarization (Xcode 13 and Above) (Sheet of )

Command

Example

Send notarization

xcrun notarytool submit <”installer zip”> --keychain-profile <”keychain profile”> --wait

or

xcrun notarytool submit <”installer zip”> --wait --apple-id <"username"> --password <”app specific password”> --team-id <”Team Identifier”>

Get notarization logs

xcrun notarytool log <RequestUUID> --keychain-profile <”keychain profile”> <logfile.json>

or

xcrun notarytool log <RequestUUID> --apple-id <"username"> --password <”app specific password”> --team-id <”Team Identifier”> <logfile.json>

Commands for Notarization (Below Xcode 13)

The following are examples of commands for notarization for below Xcode13:

Commands for Notarization (Below Xcode 13) (Sheet of )

Command

Example

Send notarization

xcrun altool --notarize-app --primary-bundle-id <"test.zip"> --username <"username"> --password <"password123"> --file <"filename.zip">

Check status

xcrun altool --notarization-info <RequestUUID> -u <"username"> -p <password>

Staple ticket to app

$ xcrun stapler staple "Notepad.app"

Check notarization status

spctl -v -a <app name>