diff options
author | Arto Kitula <arto.kitula@gmail.com> | 2019-06-21 20:30:17 +0300 |
---|---|---|
committer | Arto Kitula <arto.kitula@gmail.com> | 2019-06-21 20:30:17 +0300 |
commit | e60a01483ff048ef07fe7c148a5b8f33ed86d15d (patch) | |
tree | d46077e40fc3df6c6a7e2a74b11128f47cd6f36b /release/darwin/README.txt | |
parent | f9e4568550fff0ec28f4efe6f73f251e3e72afa8 (diff) |
macOS DMG bundle, codesign and notarization script
Diffstat (limited to 'release/darwin/README.txt')
-rw-r--r-- | release/darwin/README.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/release/darwin/README.txt b/release/darwin/README.txt new file mode 100644 index 00000000000..cb4c321f674 --- /dev/null +++ b/release/darwin/README.txt @@ -0,0 +1,34 @@ +Bundling guide: + +Have your signing identity ready, you can check it by running: + +$ secruity find-identity -v -p codesign + +Check that your appleID has two step verification and app specified password generated. https://support.apple.com/en-us/HT204397 +Add it to the login keychain so it won't be in cleartext. + +$ security add-generic-password -a "AC_USERNAME" -w <secret> -s "AC_PASSWORD" + +You need then to make sure altool can access your keychain. First time run, there is popup, always allow. Or you can also add it on Keychain Access. + +Then you can make neat bundle using ./bundle.sh by + +$ ./bundle.sh --source <sourcedir> --dmg <dmg> --bundle-id <bundleid> --username <username> --password <password> --codesign <identity> + +where: + +<sourcedir> directory where built blender.app is +<dmg> location and name of the final disk image +<bundleid> id on notarization, you choose (for example org.blender.release) +<username> your appleid +<password> your password. having it in keychain, use "@keychain:AC_PASSWORD" +<identity> codesigning identity + +Only --sourcedir and --dmg are required flags. + +Example : +$ ./bundle.sh --source /data/build --dmg /data/Blender-2.8-alpha-macOS-10.11.dmg --bundle-id org.blender.alpha --username "foo@mac.com" --password "@keychain:AC_PASSWORD" --codesign AE825E26F12D08B692F360133210AF46F4CF7B97 + + + + |