Skip to content

Commit da67440

Browse files
committed
fix(workflow): update stapling process for xcframework to handle multiple frameworks
1 parent be0c017 commit da67440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
codesign --sign "${{ secrets.APPLE_TEAM_ID }}" --timestamp --options runtime dist/CloudSync.xcframework # Then sign the xcframework wrapper
143143
ditto -c -k --keepParent dist/CloudSync.xcframework dist/CloudSync.xcframework.zip
144144
xcrun notarytool submit dist/CloudSync.xcframework.zip --apple-id "${{ secrets.APPLE_ID }}" --password "${{ secrets.APPLE_PASSWORD }}" --team-id "${{ secrets.APPLE_TEAM_ID }}" --wait
145-
xcrun stapler staple dist/CloudSync.xcframework
145+
find dist/CloudSync.xcframework -name "*.framework" -exec echo "Stapling: {}" \; -exec xcrun stapler staple {} \;
146146
rm dist/CloudSync.xcframework.zip
147147
148148
- name: cleanup keychain for codesign

0 commit comments

Comments
 (0)