Entitlements reference check compares forward-slash paths on every OS (false 'not referenced by CODE_SIGN_ENTITLEMENTS' on Windows); test, pitfall 103

This commit is contained in:
CRTkafa 2026-10-22 16:03:07 +08:00
parent e7874a2c25
commit cbba936ed8
4 changed files with 33 additions and 3 deletions

View file

@ -1243,3 +1243,11 @@ that fails without the fix (see CONTRIBUTING.md).
language in the same edit. Then run `play images` for the screenshots.
- **Guard:** `firstGraphics` in `cli/play/images.ts`, used by `cli/play/listing.ts` for languages Play does not have yet;
it stops with the fix when the 512x512 icon is missing.
## 103. "App.entitlements is not referenced by CODE_SIGN_ENTITLEMENTS" on Windows although it is
- **Symptom:** on Windows, `apple status` / `apple signing` warned that `ios\App\App\App.entitlements` is not
referenced, while project.pbxproj sets `CODE_SIGN_ENTITLEMENTS = App/App.entitlements` for both configurations.
- **Cause:** the check compared the Windows path (backslashes) with the pbxproj's forward-slash path.
- **Do:** update storebound; the warning was false.
- **Guard:** `readProjectEntitlements` in `cli/apple/signing.ts` compares forward-slash paths on every OS
(`tests/entitlements-ref.test.ts`).