Summary
This article discusses how to codesign and notarize an MACOSX installer built on windows or linux platform.
Synopsis
This article outlines the steps necessary to codesign and notarize MACOSX installer.
Generally for any MACOSX installer to run on MACOSX without Gatekeeper quarantining the installer for malwares check, Installer should be codesigned and notarize.
If building installer on MACOSX, then there is a provision to codesign and notarize the installer during build process itself so that final build will be notarized and distribution ready.
In case of building installer other than MACOSX (Ex. Windows or Linux), then the built installer needs to be codesigned and notarized on MACOSX by taking the installer to MAC system manually. Once Notarization is completed then only the installer is distribution ready.
Discussion
Here are the steps for manually notarize the MACOSX installer built on Windows or Linux:
- After successfully generating the MACOSX installer on Windows or Linux, copy the installer zip to any temporary directory(Ex. /Desktop/Notarize) on MAC system.
- Copy MACOSX notarization script from InstallAnywhere install directory to temporary directory(/Desktop/Notarize).
Notarization script is available on below mentioned path:<USER_INSTALL_DIR>/InstallAnywhere 2022/MacInstallerScriptNOTE: To notarize any MACOSX installer XCode should be installed on MAC system.
If MAC system has XCode version below 13, then use "
SignInstaller.sh"If MAC system has XCode version 13 and above, then use "
SignInstallerXcode13Above.sh" - After copying MACOSX installer and notarization script, run the script on terminal as mentioned below.
./SignInstallerXcode13AboveModified.sh "./<installer.zip>" "<Certificate Name>" "<Certificate Id>" <Keychain Profile>OR
./SignInstallerXcode13AboveModified.sh "./<installer.zip>" "<Certificate Name>" "<Certificate_Id>" <Apple_Developer_Username> <Apple_Developer_password> - After successfully completing the execution of the script MACOSX will be notarized. If any error occurs, then it will be displayed in the terminal otherwise installer will will be successfully notarized.
NOTE: After notarization, stapling the notarization ticket is optional. Stapling notarization ticket to the installer can be done by executing below mentioned command.
xcrun stapler staple <install.app>Related Articles
Installer built with the InstallShield SAB displays text in English instead of Arabic or Ukrainian 21Number of Views universal Mac toolkit ( 32 bit variant) build fails on MacOSX 10.14 6Number of Views List of Languages Displayed Installer Built with InstallAnywhere Based on the Locale of the Target Machine 4Number of Views Catalog sync failure after fresh Data Platform installation using .78 installer with AD/LDAP authentication 7Number of Views InstallAnywhere 2014 and Later Build Fails With Build Error Unknown Error Creating Mac OS X Web Installer When Trying To B… 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago