Skip to content

Commit 9281755

Browse files
committed
fix(workflow): add notarization step for CloudSync.xcframework
1 parent 80614ac commit 9281755

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ jobs:
135135
run: |
136136
find dist/CloudSync.xcframework -name "*.framework" -exec echo "Signing: {}" \; -exec codesign --sign "${{ secrets.APPLE_TEAM_ID }}" --timestamp --options runtime {} \; # Sign each individual framework FIRST
137137
codesign --sign "${{ secrets.APPLE_TEAM_ID }}" --timestamp --options runtime dist/CloudSync.xcframework # Then sign the xcframework wrapper
138+
ditto -c -k --keepParent dist/CloudSync.xcframework dist/CloudSync.xcframework.zip
139+
xcrun notarytool submit dist/CloudSync.xcframework.zip --apple-id "${{ secrets.APPLE_ID }}" --password "${{ secrets.APPLE_PASSWORD }}" --team-id "${{ secrets.APPLE_TEAM_ID }}" --wait
140+
rm dist/CloudSync.xcframework.zip
138141
139142
- name: cleanup keychain for codesign
140143
if: matrix.os == 'macos-15'

0 commit comments

Comments
 (0)