Skip to content

Upload to TestFlight without a personal certificate, using an App Store Connect environment - #11

Merged
armartinez merged 1 commit into
try-containers:mainfrom
armartinez:app-store-connect-signing
Dec 2, 2026
Merged

armartinez merged 1 commit into
try-containers:mainfrom
armartinez:app-store-connect-signing

Conversation

@armartinez

Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Deploy to TestFlight failed because none of its signing secrets were set. Setting them up showed two problems. The archive needed a personal Apple Development certificate, only because the ContainersCore framework target had no signing identity and fell back to it. And any repository secret could be read by a modified copy of the workflow, run by hand from any branch.

Description

  • ContainersCore signing: the framework target now signs to run locally (CODE_SIGN_IDENTITY[sdk=macosx*] = "-"), like the app target. The archive is then signed ad hoc with no certificate, and the export re-signs it for the App Store. Local builds are unchanged, since the app already re-signed the framework this way when embedding it.
  • Deploy to TestFlight:
    • The upload job runs in the App Store Connect environment, which holds the signing secrets, so its protection rules decide which runs can read them.
    • A comment on the certificate step says which certificates the secret must contain: Apple Distribution and Mac Installer Distribution.
  • Workflow names: Build & Test is now Build & test, and Publish Release is now Publish release, in sentence case like their job names. References in Deploy to TestFlight are updated.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@armartinez armartinez self-assigned this Dec 2, 2026
@armartinez
armartinez merged commit b2a83bf into try-containers:main Dec 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant