wiki:AdminInstallerMac

Version 1 (modified by davea, 5 years ago) (diff)

--

Building the Mac client

The main instructions are here: https://github.com/BOINC/boinc/blob/master/mac_build/HowToBuildBOINC_XCode.pdf

To notarize the installer and uninstaller

Create an app-specific password at https://appleid.apple.com/account/manage.

$ xcrun altool --notarize-app -t osx -f {path to ...macOSX_x86_64.zip} --primary-bundle-id edu.berkeley.boinc.Installer -u {userID} -p {password}

After a few minutes, check whether the notarize-app request succeeded:

$ xcrun altool --notarization-info {UUID from last step} -u {userID} -p {password}

If the notarize-app request succeeded, attach tickets to top level applications:

$ xcrun stapler staple {path to "...macOSX_x86_64/BOINC Installer.app"}
$ xcrun stapler staple {path to "...macOSX_x86_64/extras/Uninstall BOINC.app"}

Delete or rename the original ...macOSX_x86_64.zip}

Run this ditto command again to create a new ...macOSX_x86_64.zip containing the updated (notarized) BOINC Installer.app and Uninstall BOINC.app:

$ ditto -ck --sequesterRsrc --keepParent boinc_x.y.z_macOSX_x86_64 boinc_x.y.z_macOSX_x86_64.zip

replacing x.y.z with the current version number.

For more information:

$ xcrun altool --help
$ man stapler