"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/darwin/README.txt" (22 Apr 2021, 2178 Bytes) of package /linux/misc/blender-2.93.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 macOS app bundling guide
    3 ========================
    4 
    5 Install Code Signing Certificate
    6 --------------------------------
    7 
    8 * Go to https://developer.apple.com/account/resources/certificates/list
    9 * Download the Developer ID Application certificate.
   10 * Double click the file and add to key chain (default options).
   11 * Delete the file from the Downloads folder.
   12 
   13 * You will also need to install a .p12 public/private key file for the
   14   certificate. This is only available for the owner of the Blender account,
   15   or can be exported and copied from another system that already has code
   16   signing set up.
   17 
   18 Find the codesigning identity by running:
   19 
   20 $ security find-identity -v -p codesigning
   21 
   22 "Developer ID Application: Stichting Blender Foundation" is the identity needed.
   23 The long code at the start of the line is used as <identity> below.
   24 
   25 Setup Apple ID
   26 --------------
   27 
   28 * The Apple ID must have two step verification enabled.
   29 * Create an app specific password for the code signing app (label can be anything):
   30 https://support.apple.com/en-us/HT204397
   31 * Add the app specific password to keychain:
   32 
   33 $ security add-generic-password -a <apple-id> -w <app-specific-password> -s altool-password
   34 
   35 When running the bundle script, there will be a popup. To avoid that either:
   36 * Click Always Allow in the popup
   37 * In the Keychain Access app, change the Access Control settings on altool-password
   38 
   39 Bundle
   40 ------
   41 
   42 Then the bundle is created as follows:
   43 
   44 $ ./bundle.sh --source <sourcedir> --dmg <dmg> --bundle-id <bundleid> --username <apple-id> --password "@keychain:altool-password" --codesign <identity>
   45 
   46 <sourcedir>  directory where built Blender.app is
   47 <dmg>	       location and name of the final disk image
   48 <bundleid>   id on notarization, for example org.blenderfoundation.blender.release
   49 <apple-id>   your appleid email
   50 <identity>   codesigning identity
   51 
   52 When specifying only --sourcedir and --dmg, the build will not be signed.
   53 
   54 Example :
   55 $ ./bundle.sh --source /data/build/bin --dmg /data/Blender-2.8-alpha-macOS-10.11.dmg --bundle-id org.blenderfoundation.blender.release --username "foo@mac.com" --password "@keychain:altool-password" --codesign AE825E26F12D08B692F360133210AF46F4CF7B97