Update code signing process in macbuild.sh

Removed old code signing commands and added new ones.
This commit is contained in:
cranci 2025-11-01 09:06:44 +01:00 committed by GitHub
parent cfd1129b68
commit db48f1eab9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,10 +41,7 @@ lipo -create \
"$DD_APP_PATH_ARM64/Contents/MacOS/$APPLICATION_NAME" \
-output "$TARGET_APP/Contents/MacOS/$APPLICATION_NAME"
codesign --remove "$TARGET_APP"
if [ -e "$TARGET_APP/_CodeSignature" ]; then
rm -rf "$TARGET_APP/_CodeSignature"
fi
codesign --force --deep --sign - "$TARGET_APP"
echo "Universal Mac Catalyst build completed: $TARGET_APP"
lipo -archs "$TARGET_APP/Contents/MacOS/$APPLICATION_NAME"