Skip to content

Commit be0c017

Browse files
committed
fix(workflow): update macOS codesigning to use zip for notarization
1 parent c8af38e commit be0c017

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,10 @@ jobs:
130130
if: matrix.os == 'macos-15' && matrix.name != 'apple-xcframework'
131131
run: |
132132
codesign --sign "${{ secrets.APPLE_TEAM_ID }}" --timestamp --options runtime dist/cloudsync.dylib
133-
xcrun notarytool submit dist/cloudsync.dylib --apple-id "${{ secrets.APPLE_ID }}" --password "${{ secrets.APPLE_PASSWORD }}" --team-id "${{ secrets.APPLE_TEAM_ID }}" --wait
134-
xcrun stapler staple dist/cloudsync.dylib
133+
cd dist && ditto -c -k --keepParent cloudsync.dylib cloudsync.zip
134+
xcrun notarytool submit cloudsync.zip --apple-id "${{ secrets.APPLE_ID }}" --password "${{ secrets.APPLE_PASSWORD }}" --team-id "${{ secrets.APPLE_TEAM_ID }}" --wait
135+
xcrun stapler staple cloudsync.dylib
136+
rm cloudsync.zip
135137
136138
- name: codesign xcframework
137139
if: matrix.name == 'apple-xcframework'

0 commit comments

Comments
 (0)