1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer (Xcode): Code-sign using the expanded code sign identity

This commit is contained in:
Anthony Nicholls 2024-03-07 16:37:14 +00:00
parent 9e3e20c6aa
commit 26b817b7a4

View file

@ -2592,8 +2592,9 @@ private:
const auto codesignScript = ScriptBuilder{}
.ifSet ("CODE_SIGN_ENTITLEMENTS",
R"(entitlementsArg=(--entitlements "${CODE_SIGN_ENTITLEMENTS}"))")
.echo ("Signing Identity: " + doubleQuoted ("${EXPANDED_CODE_SIGN_IDENTITY_NAME}") )
.run ("codesign --verbose=4 --force --sign",
doubleQuoted ("${CODE_SIGN_IDENTITY:--}"),
doubleQuoted ("${EXPANDED_CODE_SIGN_IDENTITY}"),
"${entitlementsArg[*]-}",
"${OTHER_CODE_SIGN_FLAGS-}",
doubleQuoted (installPath + objectToSignTail));