diff --git a/common/arch/macos/notarize_dxx_bundles.sh b/common/arch/macos/notarize_dxx_bundles.sh index 9d8947208..952f300a1 100755 --- a/common/arch/macos/notarize_dxx_bundles.sh +++ b/common/arch/macos/notarize_dxx_bundles.sh @@ -135,6 +135,8 @@ else fi fi +echo "Stapling ticket to app bundle..." + xcrun stapler staple "$app_bundle_path[2]" if [[ $? -ne 0 ]]; then echo "Failed to staple ticket to app bundle." @@ -147,4 +149,6 @@ if [[ -f "$zip_path[2]" ]]; then rm -f "$zip_path[2]" fi +echo "Creating $zip_path[2]..." + /usr/bin/ditto -c -k --keepParent "$app_bundle_path[2]" "$zip_path[2]"