Changes between Initial Version and Version 1 of AdminInstallerMac


Ignore:
Timestamp:
Apr 1, 2020, 11:30:21 PM (4 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminInstallerMac

    v1 v1  
     1= Building the Mac client =
     2
     3The main instructions are here:
     4https://github.com/BOINC/boinc/blob/master/mac_build/HowToBuildBOINC_XCode.pdf
     5
     6==  To notarize the installer and uninstaller ==
     7
     8Create an app-specific password at https://appleid.apple.com/account/manage.
     9
     10{{{
     11$ xcrun altool --notarize-app -t osx -f {path to ...macOSX_x86_64.zip} --primary-bundle-id edu.berkeley.boinc.Installer -u {userID} -p {password}
     12}}}
     13
     14After a few minutes, check whether the notarize-app request succeeded:
     15
     16{{{
     17$ xcrun altool --notarization-info {UUID from last step} -u {userID} -p {password}
     18}}}
     19If the notarize-app request succeeded, attach tickets to top level applications:
     20{{{
     21$ xcrun stapler staple {path to "...macOSX_x86_64/BOINC Installer.app"}
     22$ xcrun stapler staple {path to "...macOSX_x86_64/extras/Uninstall BOINC.app"}
     23}}}
     24Delete or rename the original ...macOSX_x86_64.zip}
     25
     26Run this ditto command again to create a new ...macOSX_x86_64.zip containing
     27the updated (notarized) BOINC Installer.app and Uninstall BOINC.app:
     28
     29{{{
     30$ ditto -ck --sequesterRsrc --keepParent boinc_x.y.z_macOSX_x86_64 boinc_x.y.z_macOSX_x86_64.zip
     31}}}
     32replacing x.y.z with the current version number.
     33
     34For more information:
     35{{{
     36$ xcrun altool --help
     37$ man stapler
     38}}}