We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af36cb4 commit d7adb8cCopy full SHA for d7adb8c
1 file changed
scripts/osx/xcode_project.sh
@@ -230,6 +230,13 @@ copy_binary() {
230
echo "ERROR: Failed to copy the app"
231
exit 1
232
fi
233
+
234
+ if [ -z "${CODE_SIGN_IDENTITY}" ]; then
235
+ echo "No CODE_SIGN_IDENTITY set. Unable to sign the app."
236
+ exit 0
237
+ fi
238
+ echo "Current CODE_SIGN_IDENTITY: '${CODE_SIGN_IDENTITY}'"
239
+ codesign --force --sign "${CODE_SIGN_IDENTITY}" "${APP_DEST}/${APP_NAME}"
240
}
241
242
echo ''
0 commit comments