forked from qt-creator/qt-creator
macOS: Use hardened runtime when signing
Follow up of c2398e3067
Change-Id: I003f03097633202585d36a136136d84d8f3c2140
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -181,7 +181,8 @@ def is_not_debug(path, filenames):
|
||||
def codesign(app_path):
|
||||
signing_identity = os.environ.get('SIGNING_IDENTITY')
|
||||
if is_mac_platform() and signing_identity:
|
||||
codesign_call = ['codesign', '--force', '--deep', '-s', signing_identity, '-v']
|
||||
codesign_call = ['codesign', '-o', 'runtime', '--force', '--deep', '-s', signing_identity,
|
||||
'-v']
|
||||
signing_flags = os.environ.get('SIGNING_FLAGS')
|
||||
if signing_flags:
|
||||
codesign_call.extend(signing_flags.split())
|
||||
|
Reference in New Issue
Block a user