desktop-release: architecture guard before signing (tauri build --no-sign, guard, then tauri bundle signs / notarizes): every Mach-O in the app must contain arm64, nothing Intel-only, Info.plist must not force Intel (LSRequiresNativeExecution false, LSArchitecturePriority x86_64 first); guard repeated on the signed app, the DMG and the updater bundle, recorded in evidence.json
This commit is contained in:
parent
9ba8471002
commit
12b01f065c
4 changed files with 82 additions and 7 deletions
|
|
@ -467,5 +467,6 @@ that fails without the fix (see CONTRIBUTING.md).
|
|||
starts Rosetta; macOS warns about every app that does.
|
||||
- **Do:** check the x86_64 slice only by structure (`lipo -archs`, `file`, `codesign`) and run self-tests natively
|
||||
(arm64). The same holds for any universal app or game you build: never launch the Intel slice to test it.
|
||||
- **Guard:** `tools/desktop-release.ts` (`sliceProblems`: every Mach-O in the bundle must carry arm64 and x86_64,
|
||||
- **Guard:** `tools/desktop-release.ts` (`archProblems` before signing: every Mach-O must contain arm64, no Intel-only
|
||||
file, no Info.plist that forces Intel; `sliceProblems`: every Mach-O in the bundle must carry arm64 and x86_64,
|
||||
nothing x86_64 is run); `tests/desktop-release.test.ts`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue