@@ -203,14 +203,18 @@ jobs:
203203 DMG_PATH : ${{ steps.unsigned.outputs.dmg }}
204204 run : desktop/scripts/set-dmg-finder-text-size.sh "$DMG_PATH" 14
205205
206+ # mdx-ios-codesign-helper discovers this file by its exact lowercase basename.
207+ - name : Stage signing entitlements
208+ run : cp desktop/src-tauri/Entitlements.plist "${RUNNER_TEMP}/entitlements.plist"
209+
206210 - name : Codesign and Notarize
207211 id : codesign
208212 uses : block/apple-codesign-action@679535d1ab7c5a7c18e6f9afcba3464512cc3dde # v1.1.0
209213 with :
210214 osx-codesign-role : ${{ secrets.OSX_CODESIGN_ROLE }}
211215 codesign-s3-bucket : ${{ secrets.CODESIGN_S3_BUCKET }}
212216 unsigned-artifact-path : ${{ steps.unsigned.outputs.dmg }}
213- entitlements-plist-path : desktop/src-tauri/Entitlements .plist
217+ entitlements-plist-path : ${{ runner.temp }}/entitlements .plist
214218 artifact-name : buzz-${{ github.sha }}-${{ github.run_id }}-arm64
215219
216220 - name : Replace DMG and rebuild updater archive
@@ -247,6 +251,8 @@ jobs:
247251 desktop/src-tauri/target/release/bundle/macos/Buzz.app
248252 spctl --assess --type execute --verbose=4 \
249253 desktop/src-tauri/target/release/bundle/macos/Buzz.app
254+ desktop/scripts/verify-macos-entitlements.sh \
255+ desktop/src-tauri/target/release/bundle/macos/Buzz.app
250256
251257 - name : Locate build artifacts
252258 id : artifacts
@@ -369,14 +375,18 @@ jobs:
369375 DMG_PATH : ${{ steps.unsigned.outputs.dmg }}
370376 run : desktop/scripts/set-dmg-finder-text-size.sh "$DMG_PATH" 14
371377
378+ # mdx-ios-codesign-helper discovers this file by its exact lowercase basename.
379+ - name : Stage signing entitlements
380+ run : cp desktop/src-tauri/Entitlements.plist "${RUNNER_TEMP}/entitlements.plist"
381+
372382 - name : Codesign and Notarize
373383 id : codesign
374384 uses : block/apple-codesign-action@679535d1ab7c5a7c18e6f9afcba3464512cc3dde # v1.1.0
375385 with :
376386 osx-codesign-role : ${{ secrets.OSX_CODESIGN_ROLE }}
377387 codesign-s3-bucket : ${{ secrets.CODESIGN_S3_BUCKET }}
378388 unsigned-artifact-path : ${{ steps.unsigned.outputs.dmg }}
379- entitlements-plist-path : desktop/src-tauri/Entitlements .plist
389+ entitlements-plist-path : ${{ runner.temp }}/entitlements .plist
380390 artifact-name : buzz-${{ github.sha }}-${{ github.run_id }}-x64
381391
382392 - name : Replace DMG and rebuild updater archive
@@ -411,6 +421,7 @@ jobs:
411421 APP_DIR="desktop/src-tauri/target/${TARGET}/release/bundle/macos/Buzz.app"
412422 codesign --verify --deep --strict --verbose=2 "$APP_DIR"
413423 spctl --assess --type execute --verbose=4 "$APP_DIR"
424+ desktop/scripts/verify-macos-entitlements.sh "$APP_DIR"
414425
415426 - name : Locate updater archive
416427 id : artifacts
0 commit comments