CICD-477 · iOS code signing
Encyclopedia · Mobile, desktop and binary distribution · All snippets
Previous · CICD-476 · Next · CICD-478
1. Where it fits
- Placement approved macOS signing job.
- Prerequisites approved toolchains and isolated build/signing runner when credentials are required.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
xcodebuild -archivePath App.xcarchive -scheme App -configuration Release archive
xcodebuild -exportArchive -archivePath App.xcarchive -exportOptionsPlist ci/export-options.plist -exportPath dist3. How it works
Archive produces a release build using the configured signing identity. Export applies the selected provisioning policy and creates the distribution artifact.
4. Verify the result
Provide approved provisioning profiles and an isolated keychain. Inspect the team identity and export method.
Validation syntax-validated (Bash parse). Status definitions.