Re-enable CloudKit signing preflight#38
Conversation
There was a problem hiding this comment.
Pull request overview
Restores CloudKit/iCloud entitlements for the OffScript app and adds a release-time signing preflight that validates the active App Store provisioning profile includes the required CloudKit container, wiring that check into local uploads, GitHub Actions probing, and release documentation.
Changes:
- Re-add CloudKit entitlements (
iCloud.com.offscript.app+CloudKit) to the shipped app target. - Introduce
scripts/app_store_connect.py signing-preflightto decode ACTIVE provisioning profiles from ASC and validate CloudKit container/service presence. - Run the preflight during manual TestFlight uploads and from the Xcode Cloud probe workflow; document the repair flow.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/upload_testflight.sh | Adds CloudKit signing readiness preflight before archiving/uploading. |
| scripts/app_store_connect.py | Implements signing-preflight command and supporting ASC queries/profile decoding. |
| docs/TESTFLIGHT.md | Documents new signing preflight and CloudKit signing repair steps. |
| OffScript/OffScript.entitlements | Restores CloudKit/iCloud entitlements for the app target. |
| OffScript.xcodeproj/project.pbxproj | Bumps build number to 43 across configurations/targets. |
| CHANGELOG.md | Records CloudKit entitlement restoration and new release tooling preflight. |
| .github/workflows/xcode-cloud-probe.yml | Adds signing-preflight workflow option/entrypoint. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Preflight hardening update:
Current blocker from live App Store Connect preflight:
All active Result: this PR is still not safe to merge until the Apple Developer profile state is repaired and |
…ble-cloudkit-signing
|
Live signing re-check after merging latest Command run: scripts/app_store_connect.py signing-preflight --profile-type IOS_APP_STORECurrent result:
The active Store profile set now includes 17 profiles. Every active I also re-ran local script hygiene after syncing the branch: python3 -m py_compile scripts/app_store_connect.py
git diff --check HEAD~1..HEADBoth passed. I am not merging this PR until the Apple Developer App ID/profile state is repaired and the signing preflight returns OK. |
Codex Reviewer Gate
|
Summary
Verification
Blocker before merge
Apple Developer portal still needs com.offscript.app iCloud/CloudKit container assignment repaired and the App Store profile regenerated. Current decoded profile evidence: profile 2J87H4LQ25 is ACTIVE but does not include iCloud.com.offscript.app.