From e60a01483ff048ef07fe7c148a5b8f33ed86d15d Mon Sep 17 00:00:00 2001 From: Arto Kitula Date: Fri, 21 Jun 2019 20:30:17 +0300 Subject: macOS DMG bundle, codesign and notarization script --- release/darwin/README.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 release/darwin/README.txt (limited to 'release/darwin/README.txt') 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 -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 --dmg --bundle-id --username --password --codesign + +where: + + directory where built blender.app is + location and name of the final disk image + id on notarization, you choose (for example org.blender.release) + your appleid + your password. having it in keychain, use "@keychain:AC_PASSWORD" + 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 + + + + -- cgit v1.2.3