From 4e477104a6cd9dc6c8d7bb6dce4c0c5d3aa3c30e Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sat, 18 Oct 2014 11:09:18 -0400 Subject: [PATCH] Use --deep flag when code signing under OS X It is now required in new versions of OS X that the embedded Python framework is signed separately. --- hscommon/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hscommon/build.py b/hscommon/build.py index 2444fda6..b966f117 100644 --- a/hscommon/build.py +++ b/hscommon/build.py @@ -130,7 +130,7 @@ def package_cocoa_app_in_dmg(app_path, destfolder, args): # a valid signature. if args.sign_identity: sign_identity = "Developer ID Application: {}".format(args.sign_identity) - result = print_and_do('codesign --force --sign "{}" "{}"'.format(sign_identity, app_path)) + result = print_and_do('codesign --force --deep --sign "{}" "{}"'.format(sign_identity, app_path)) if result != 0: print("ERROR: Signing failed. Aborting packaging.") return