fix: address Apple validation errors for Mac Catalyst TestFlight#556
fix: address Apple validation errors for Mac Catalyst TestFlight#556jfversluis merged 4 commits intomainfrom
Conversation
1. Bundle ID: use nl.versluis.polypilot (Apple says it was already registered as this, cannot change to maccatalyst. prefix) 2. LSApplicationCategoryType: add public.app-category.developer-tools to Info.plist (required for Mac App Store) 3. Copilot binary signing: re-sign the bundled copilot CLI with the same identity and sandbox entitlements after dotnet publish 4. Copilot binary sandbox: included via the entitlements used in the re-sign step Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Build needs maccatalyst.nl.versluis.polypilot to match the provisioning profile. Apple's upload validation needs the base bundle-id nl.versluis.polypilot to match the App Store Connect record. Use --bundle-id override in altool --upload-package. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
CreatePackage=true seals the .pkg before the copilot binary can be re-signed. Split into 3 steps: produces .app 2. Re-sign copilot binary + dylibs + frameworks + .app (inside-out) creates .pkg Follows the same inside-out signing pattern as build.yml (Homebrew). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…validation Address all 4 Apple validation errors: 1. Bundle ID mismatch: Build with maccatalyst. prefix (for provisioning profile match), then patch CFBundleIdentifier back to base ID before signing. App Store Connect expects the base bundle ID, not the maccatalyst-prefixed one. 2. Copilot binary signing: Use minimal Entitlements.Helper.plist with app-sandbox + inherit (standard pattern for helper executables in sandboxed apps) instead of the full app entitlements. 3. Missing LSApplicationCategoryType: Already added in previous commit. 4. Copilot sandbox: Covered by the new helper entitlements file. Added --deep --strict signature verification step. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔍 Multi-Model Code Review — PR #556PR: fix: address Apple validation errors for Mac Catalyst TestFlight Findings🟡 MODERATE — Missing copilot binary should fail the build, not warnFile: Problem: When the copilot binary is not found at
Suggested fix: Add Issues Already Fixed by Follow-Up PRsThe following issues exist in this PR's diff but have been addressed by subsequent merged PRs. Listed for completeness:
These were discovered iteratively during TestFlight submission and fixed in follow-up PRs that are now on main. Observations (No Issues)
Recommendation |
Fixes all 4 validation errors from the TestFlight upload:
Note: The build may fail if MAUI can't match the base ApplicationId to the maccatalyst provisioning profile. If so, a new provisioning profile may be needed.