asc-xcode-build
Skill1.1k starsChanged 4 months agoMITView on GitHub
Build, archive, generate export options, export, upload, and manage Xcode version/build numbers with the current asc xcode helpers. Use when creating an IPA or PKG for App Store Connect, TestFlight, or registered-device release testing.
1 other project uses a version of this, 1 of them edited.
Trending
More talk lately.thin dataabout the whole repository
Most recently taken up by
- moasq/ios-dev-agentedited, first seen May 26, 2026
Who's talking about rorkai/app-store-connect-cli-skills
- sudosubin/agents.nix“agent-skills.github.rorkai.app-store-connect-cli-skills: 0-unstable-2026-09-14 → 0-unstable-2026-10-05”GitHub · Oct 5, 2026
- sudosubin/agents.nix“claude-code-plugins.github.rorkai.app-store-connect-cli-skills: init at 0-unstable-2026-09-14”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.rorkai.app-store-connect-cli-skills: init at 0-unstable-2026-09-14”GitHub · Oct 1, 2026
- ShawnBaek/ai-workflow-apple-platform-engineer“fix(release-qa-handoff): route publication through app-store-connect and confirm tracker writes”GitHub · Sep 26, 2026
- rorkai/App-Store-Connect-CLI“fix(web): renew request deadlines after interactive authentication”GitHub · Sep 8, 2026
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub (7 times).
On GitHub · 7
- Oct 5, 2026agent-skills.github.rorkai.app-store-connect-cli-skills: 0-unstable-2026-09-14 → 0-unstable-2026-10-05 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.rorkai.app-store-connect-cli-skills: init at 0-unstable-2026-09-14 — sudosubin/agents.nix0 reactions
- Oct 1, 2026agent-skills.github.rorkai.app-store-connect-cli-skills: init at 0-unstable-2026-09-14 — sudosubin/agents.nix0 reactions
- Sep 26, 2026fix(release-qa-handoff): route publication through app-store-connect and confirm tracker writes — ShawnBaek/ai-workflow-apple-platform-engineer0 reactions
- Sep 8, 2026fix(web): renew request deadlines after interactive authentication — rorkai/App-Store-Connect-CLI0 reactions
2 more on GitHub
- Jul 7, 2026Review followup: PR #26755 — GH#26753: docs: adopt app store connect skill refresh — marcusquinn/aidevops0 reactions · 2 comments
- Jul 7, 2026quality-debt: .agents/tools/mobile/app-store-connect.md — PR #26755 review feedback (medium) — marcusquinn/aidevops0 reactions · 3 comments
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- moasq/ios-dev-agent★ 472% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- asc-ad-hoc-distributionSkill
- asc-analytics-reportsSkill
- asc-app-create-uiSkill
- asc-apple-adsSkill
- asc-aso-auditSkill
- asc-build-lifecycleSkill
- asc-cli-usageSkill
- asc-crash-triageSkill
- asc-id-resolverSkill
- asc-localize-metadataSkill
- asc-metadata-syncSkill
- asc-notarizationSkill
- asc-ppp-pricingSkill
- asc-release-flowSkill
- asc-revenuecat-catalog-syncSkill
- asc-screenshot-resizeSkill
- asc-shots-pipelineSkill
- asc-signing-setupSkill
- asc-submission-healthSkill
- asc-subscription-localizationSkill
- asc-testflight-orchestrationSkill
- asc-wall-submitSkill
- asc-whats-new-writerSkill
- asc-workflowSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 1 is distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when you need to build an app from source and prepare it for App Store Connect.
- Very specific: line 27
Use --project-dir "./MyApp" when not running from the project root.
- Very specific: line 41
Use asc xcode build for an ordinary simulator, device, or CI validation build.
- Very specific: line 53
When --derived-data-path is omitted, asc uses a stable cache outside the source checkout.
- Very specific: line 71
Use --project "App.xcodeproj" instead of --workspace for project-only apps.
- Very specific: line 175
If your macOS export produces a .pkg, export it with the helper, then upload the package:
- Very specific: line 196
Use raw xcodebuild only when neither asc xcode archive --help nor asc xcode export --help covers a project-specific option.
- Very specific: line 208
Add --xcodebuild-flag=-allowProvisioningUpdates to asc xcode export.
- Distinctive: line 209
Verify the Apple ID is logged into Xcode.
- Very specific: line 210
Verify profiles with the asc-signing-setup skill.
- Very specific: line 226
Prefer asc xcode archive and asc xcode export for deterministic local artifacts.
- Very specific: line 228
Use --overwrite only when replacing existing local artifacts intentionally.
- Very specific: line 229
Use --wait on upload/publish paths when the next step depends on processed builds.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Xcode build and export
Use this skill when you need to build an app from source and prepare it for App Store Connect. Prefer asc xcode archive and asc xcode export over raw xcodebuild recipes when they fit the project.
Preconditions
- Xcode and command line tools are installed.
- Signing identity and provisioning profiles are available, or automatic signing is enabled.
- App Store Connect auth is configured when upload or build lookup is needed.
Manage version and build numbers
asc xcode version view
asc xcode version edit --version "1.3.0" --build-number "42"
asc xcode version edit --next-build-number --app "APP_ID" --platform IOS
asc xcode version bump --type build
asc xcode version bump --type patch
asc xcode version bump --type build --next-build-number --app "APP_ID" --platform IOSUse --project-dir "./MyApp" when not running from the project root. Use --project "./MyApp/App.xcodeproj" when the directory contains multiple projects. Use --target "App" and --configuration "Release" for deterministic reads and writes in multi-target or multi-configuration projects.
To avoid low build-number rejects, resolve and apply the remote-safe build number in one command:
asc xcode version edit --next-build-number --app "APP_ID" --platform IOS --output jsonVersion mutations validate the full change before writing and return structured output identifying the configurations and files changed. The editor follows recursive xcconfig includes and preserves unrelated project and xcconfig content. Use asc builds next-build-number separately when you only want to inspect the remote-safe value without changing the project.
Version commands read project and xcconfig settings without launching Xcode. When those settings cannot resolve the version values, the default --xcodebuild-settings-lookup auto falls back to xcodebuild -showBuildSettings and warns on stderr. Use --xcodebuild-settings-lookup never in automation that must not launch Xcode implicitly.
Compile without archiving
Use asc xcode build for an ordinary simulator, device, or CI validation build. Provide exactly one project or workspace and a scheme.
asc xcode build \
--project "App.xcodeproj" \
--scheme "App" \
--destination "platform=iOS Simulator,name=iPhone 17 Pro Max,OS=27.0" \
--no-code-signing \
--result-bundle-path ".asc/artifacts/App.xcresult" \
--output jsonWhen --derived-data-path is omitted, asc uses a stable cache outside the source checkout. The result-bundle destination must not already exist. Xcode logs go to stderr and the structured result goes to stdout.
Preferred iOS/tvOS/visionOS build flow
1. Archive with asc
asc xcode archive \
--workspace "App.xcworkspace" \
--scheme "App" \
--configuration Release \
--clean \
--archive-path ".asc/artifacts/App.xcarchive" \
--xcodebuild-flag=-destination \
--xcodebuild-flag=generic/platform=iOS \
--output jsonUse --project "App.xcodeproj" instead of --workspace for project-only apps.
2. Export with asc
By default, asc xcode export generates App Store Connect export options with automatic signing. It uses a local export destination unless --wait is set, in which case it uses direct upload:
asc xcode export \
--archive-path ".asc/artifacts/App.xcarchive" \
--ipa-path ".asc/artifacts/App.ipa" \
--xcodebuild-flag=-allowProvisioningUpdates \
--output jsonGenerate a plist separately when it needs review, reuse, or manual signing:
asc xcode export-options generate \
--archive-path ".asc/artifacts/App.xcarchive" \
--output-path ".asc/ExportOptions.plist" \
--output jsonFor manual signing, add --signing-style manual and optionally --team-id "TEAM_ID". Existing files require --overwrite.
For an IPA installable on registered devices, use Xcode's current
release-testing method. The older ad-hoc spelling is deprecated by Xcode and
is not accepted by asc:
asc xcode export \
--archive-path ".asc/artifacts/App.xcarchive" \
--ipa-path ".asc/artifacts/App.ipa" \
--method release-testing \
--signing-style manual \
--team-id "TEAM_ID" \
--output jsonGenerate the release-testing plist separately when it needs review or reuse:
asc xcode export-options generate \
--archive-path ".asc/artifacts/App.xcarchive" \
--method release-testing \
--signing-style manual \
--team-id "TEAM_ID" \
--output-path ".asc/ExportOptions.release-testing.plist" \
--output jsonrelease-testing always exports locally and cannot be combined with --wait.
An explicit --export-options plist cannot be combined with --method,
--signing-style, or --team-id. For device/profile reconciliation, isolated
signing, private publication, resumability, and live verification, use the
asc-ad-hoc-distribution skill instead of assembling those stages manually.
To upload directly through Xcode and wait for App Store Connect processing, omit --export-options and add --wait:
asc xcode export \
--archive-path ".asc/artifacts/App.xcarchive" \
--ipa-path ".asc/artifacts/App.ipa" \
--wait \
--output json3. Upload or publish
Upload an exported IPA:
asc builds upload --app "APP_ID" --ipa ".asc/artifacts/App.ipa" --waitDistribute to TestFlight:
asc publish testflight --app "APP_ID" --ipa ".asc/artifacts/App.ipa" --group "GROUP_ID" --waitPublish to the App Store:
asc publish appstore --app "APP_ID" --ipa ".asc/artifacts/App.ipa" --version "1.2.3" --wait
asc publish appstore --app "APP_ID" --ipa ".asc/artifacts/App.ipa" --version "1.2.3" --wait --submit --confirmmacOS App Store flow
Archive with the helper:
asc xcode archive \
--project "MacApp.xcodeproj" \
--scheme "MacApp" \
--configuration Release \
--clean \
--archive-path ".asc/artifacts/MacApp.xcarchive" \
--xcodebuild-flag=-destination \
--xcodebuild-flag=generic/platform=macOS \
--output jsonIf your macOS export produces a .pkg, export it with the helper, then upload the package:
asc xcode export \
--archive-path ".asc/artifacts/MacApp.xcarchive" \
--pkg-path ".asc/artifacts/MacApp.pkg" \
--xcodebuild-flag=-allowProvisioningUpdates \
--output json
asc builds upload \
--app "APP_ID" \
--pkg ".asc/artifacts/MacApp.pkg" \
--version "1.0.0" \
--build-number "123" \
--waitFor .pkg uploads, --version and --build-number are required because they are not auto-extracted like IPA metadata. Add --export-options "ExportOptions.plist" when the project needs a custom export configuration.
Raw xcodebuild fallback
Use raw xcodebuild only when neither asc xcode archive --help nor
asc xcode export --help covers a project-specific option. Prefer passing
extra arguments through --xcodebuild-flag first.
xcodebuild -showBuildSettings -scheme "App"Troubleshooting
No profiles for bundle ID during export
- Add
--xcodebuild-flag=-allowProvisioningUpdatestoasc xcode export. - Verify the Apple ID is logged into Xcode.
- Verify profiles with the
asc-signing-setupskill.
CFBundleVersion too low
asc xcode version edit --next-build-number --app "APP_ID" --platform IOSThen rebuild and upload again.
Build rejected for missing macOS icon
macOS requires ICNS icons with all required sizes. Fix the asset catalog, rebuild, then export/upload again.
Notes
- Prefer
asc xcode archiveandasc xcode exportfor deterministic local artifacts. - The default generated export method remains
app-store-connect; request--method release-testingexplicitly for registered-device installs. - Use
--overwriteonly when replacing existing local artifacts intentionally. - Use
--waiton upload/publish paths when the next step depends on processed builds. - For submission readiness, use
asc-submission-health.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

