Skip to content

Commit a647101

Browse files
Updated mac_sign_and_package script to sign with runtime option (Hardened Runtime) for notarization acceptance.
1 parent d6006f2 commit a647101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/mac_app_sign_and_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ echo
273273
# Attempt to deeply codesign the app bundle
274274
#
275275
echo "Code signing the application bundle: ${DISTRIBUTION}${APP_BUNDLE} with identity: \"${APP_IDENTITY}\""
276-
codesign -s "$APP_IDENTITY" --deep -f -v "${DISTRIBUTION}${APP_BUNDLE}"
276+
codesign -s "$APP_IDENTITY" --deep -f -v --options runtime "${DISTRIBUTION}${APP_BUNDLE}"
277277
if [ "$?" != "0" ]; then
278278
echo "[Error] Codesigning the application bundle failed!" 1>&2
279279
exit 1

0 commit comments

Comments
 (0)