File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,19 @@ jobs:
117117 # Sign any frameworks in the bundle
118118 if [ -d "${APP_BUNDLE}/Contents/Frameworks" ]; then
119119 echo "Signing frameworks..."
120- find "${APP_BUNDLE}/Contents/Frameworks" -type f \( -name "*.dylib" -o -name "*.framework" \) | while read -r framework; do
120+ # Sign .dylib files first
121+ find "${APP_BUNDLE}/Contents/Frameworks" -type f -name "*.dylib" | while read -r dylib; do
122+ echo " Signing dylib: ${dylib}"
121123 codesign --force --options runtime --timestamp \
122124 --sign "${MAC_SIGNING_IDENTITY}" \
123- "${framework}" || true
125+ "${dylib}" || true
126+ done
127+ # Then sign framework bundles (these are directories)
128+ find "${APP_BUNDLE}/Contents/Frameworks" -type d -name "*.framework" | while read -r framework; do
129+ echo " Signing framework: ${framework}"
130+ codesign --force --options runtime --timestamp \
131+ --sign "${MAC_SIGNING_IDENTITY}" \
132+ "${framework}"
124133 done
125134 fi
126135
You can’t perform that action at this time.
0 commit comments