File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ SIGNING_IDENTITY="$3"
1212# remove any metadata from the app bundle
1313xattr -cr " $APP_BUNDLE_PATH "
1414
15+ # remove any existing code signature
16+ find " $APP_BUNDLE_PATH " -name " _CodeSignature" -type d -exec rm -rf {} +
17+ find " $APP_BUNDLE_PATH " -name " .DS_Store" -delete
18+
1519if [ -z " $SIGNING_IDENTITY " ]; then
1620 # get the signing identity that matches Developer ID Application
1721 SIGNING_IDENTITY=$( security find-identity -p codesigning -v | grep " Developer ID Application" | awk -F' "' ' {print $2}' | head -n 1)
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ SIGNING_IDENTITY="$3"
1212# remove any metadata from the app bundle
1313xattr -cr " $APP_BUNDLE_PATH "
1414
15+ # remove any existing code signature
16+ find " $APP_BUNDLE_PATH " -name " _CodeSignature" -type d -exec rm -rf {} +
17+ find " $APP_BUNDLE_PATH " -name " .DS_Store" -delete
18+
1519if [ -z " $SIGNING_IDENTITY " ]; then
1620 # get the signing identity that matches Developer ID Application
1721 SIGNING_IDENTITY=$( security find-identity -p codesigning -v | grep " Developer ID Application" | awk -F' "' ' {print $2}' | head -n 1)
You can’t perform that action at this time.
0 commit comments