
Asc Xcode Build
- 2.6k installs
- 934 repo stars
- Updated July 21, 2026
- rudrankriyam/app-store-connect-cli-skills
asc-xcode-build is a skill that archives and exports iOS or macOS apps with asc xcode helpers so IPAs and PKGs reach App Store Connect upload or TestFlight.
About
asc-xcode-build guides agents through producing App Store-ready artifacts with asc xcode archive and export instead of raw xcodebuild recipes when they fit. Preconditions cover Xcode, command line tools, signing identities, and App Store Connect auth. Version management uses asc xcode version view, edit, and bump, with asc builds next-build-number to avoid CFBundleVersion rejects before editing build numbers. The preferred iOS flow archives with workspace or project flags, exports with ExportOptions.plist, optionally waits for direct upload processing, then uploads via asc builds upload or publishes to TestFlight or the App Store with asc publish. macOS App Store flow archives for generic/platform=macOS, exports PKG via xcodebuild when needed, and uploads with explicit version and build-number flags. Raw xcodebuild is a fallback only when asc helpers lack project-specific options, with extra flags passed through --xcodebuild-flag. Troubleshooting covers missing provisioning profiles, low build numbers, and macOS icon asset requirements. Cross-links asc-submission-health for post-upload readiness.
- Prefers asc xcode archive and export over raw xcodebuild when helpers cover the project.
- Version and build-number management with remote-safe next-build-number lookup.
- iOS archive, export, upload, TestFlight, and App Store publish command sequences.
- macOS PKG archive, xcodebuild export, and asc builds upload with required version flags.
- Troubleshooting for provisioning profiles, CFBundleVersion rejects, and macOS icon gaps.
Asc Xcode Build by the numbers
- 2,622 all-time installs (skills.sh)
- +48 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #73 of 1,048 Mobile Development skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
asc-xcode-build capabilities & compatibility
- Capabilities
- asc xcode archive and export workflows · remote safe build number resolution · ipa and pkg upload with wait polling · testflight and app store publish commands · provisioning and build number troubleshooting
- Use cases
- devops · ci cd · testing
npx skills add https://github.com/rudrankriyam/app-store-connect-cli-skills --skill asc-xcode-buildAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 2.6k |
|---|---|
| repo stars | ★ 934 |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 21, 2026 |
| Repository | rudrankriyam/app-store-connect-cli-skills ↗ |
How do I archive, export, and upload an iOS or macOS build to App Store Connect with the asc CLI?
Build, archive, export, and upload iOS or macOS IPAs and PKGs with asc xcode helpers before App Store Connect submission.
Who is it for?
Mobile developers using asc who want deterministic archive and export helpers instead of hand-rolled xcodebuild scripts.
Skip if: Skip when you only need submission validation without local Xcode builds, or for non-Apple mobile platforms.
When should I use this skill?
Creating an IPA or PKG for App Store Connect upload, bumping version or build numbers, or troubleshooting export signing errors.
What you get
A signed xcarchive, exported IPA or PKG, and uploaded build ready for TestFlight distribution or App Store submission.
- signed IPA archive
- version-bumped build
- App Store upload package
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 bump --type build
asc xcode version bump --type patchUse --project-dir "./MyApp" when not running from the project root. Use --project "./MyApp/App.xcodeproj" when the directory contains multiple projects. Use --target "App" for deterministic reads in multi-target projects.
To avoid low build-number rejects, resolve a remote-safe build number first:
asc builds next-build-number --app "APP_ID" --version "1.2.3" --platform IOS --output json
asc xcode version edit --build-number "NEXT_BUILD"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
asc xcode export \
--archive-path ".asc/artifacts/App.xcarchive" \
--export-options "ExportOptions.plist" \
--ipa-path ".asc/artifacts/App.ipa" \
--xcodebuild-flag=-allowProvisioningUpdates \
--output jsonIf ExportOptions.plist uses direct App Store Connect upload, add --wait to poll for build discovery and processing:
asc xcode export \
--archive-path ".asc/artifacts/App.xcarchive" \
--export-options "UploadExportOptions.plist" \
--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, use Xcode export with your ExportOptions.plist, then upload the package:
xcodebuild -exportArchive \
-archivePath ".asc/artifacts/MacApp.xcarchive" \
-exportPath ".asc/artifacts/MacAppExport" \
-exportOptionsPlist "ExportOptions.plist" \
-allowProvisioningUpdates
asc builds upload \
--app "APP_ID" \
--pkg ".asc/artifacts/MacAppExport/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.
Raw xcodebuild fallback
Use raw xcodebuild only when asc xcode archive/export --help does not cover 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 builds next-build-number --app "APP_ID" --version "1.2.3" --platform IOS
asc xcode version edit --build-number "NEXT_BUILD"Then 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. - 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.
Related skills
Forks & variants (3)
Asc Xcode Build has 3 known copies in the catalog totaling 3.3k installs. They canonicalize to this original listing.
- rorkai - 2.1k installs
- rudrankriyam - 1.2k installs
- ehmo - 1 installs
How it compares
Pick asc-xcode-build when using the asc CLI for iOS releases; choose generic CI skills for platform-agnostic pipelines not tied to App Store Connect workflows.
FAQ
Should I use asc xcode or raw xcodebuild?
Prefer asc xcode archive and export when they fit; use raw xcodebuild only when asc --help lacks needed project options.
How do I avoid CFBundleVersion too low errors?
Run asc builds next-build-number, then asc xcode version edit with the returned safe build number before rebuilding.
Is asc-xcode-build safe to install?
Review the Security Audits panel on this page before installing in production.