
Asc Xcode Build
- 2.1k installs
- 934 repo stars
- Updated July 21, 2026
- rorkai/app-store-connect-cli-skills
This is a copy of asc-xcode-build by rudrankriyam - installs and ranking accrue to the original listing.
asc-xcode-build is a mobile release skill that archives, exports, versions, and uploads native iOS, tvOS, or visionOS apps via asc xcode helpers for developers preparing App Store Connect submissions.
About
asc-xcode-build is a skill from rorkai/app-store-connect-cli-skills that replaces raw xcodebuild recipes with `asc xcode archive` and `asc xcode export` for building IPAs or PKGs before App Store Connect upload. It manages version and build numbers through asc xcode helpers and requires Xcode CLI tools, signing identities or automatic signing, and asc auth for upload or build lookup. Developers reach for asc-xcode-build when creating a release archive, exporting a signed IPA, or bumping version/build numbers without wrestling with manual xcodebuild command strings.
- Automates version and build number management with view, edit, and bump commands
- Preferred flow using `asc xcode archive` and `asc xcode export` over raw xcodebuild
- Resolves remote-safe next build numbers from App Store Connect to prevent submission rejections
- Supports --project-dir, --project, and --target flags for complex Xcode workspaces
- Handles archive, export, IPA/PKG creation and direct upload to App Store Connect
Asc Xcode Build by the numbers
- 2,074 all-time installs (skills.sh)
- +239 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/rorkai/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.1k |
|---|---|
| repo stars | ★ 934 |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 21, 2026 |
| Repository | rorkai/app-store-connect-cli-skills ↗ |
How do you archive and export an iOS app with asc CLI?
Automate archiving, exporting, versioning, and uploading native iOS, tvOS, or visionOS apps to App Store Connect without wrestling with raw xcodebuild commands.
Who is it for?
iOS, tvOS, or visionOS developers using asc CLI who need archive, export, and version management without raw xcodebuild scripts.
Skip if: Developers only running local debug builds in Xcode with no App Store Connect upload or asc CLI workflow.
When should I use this skill?
The user needs to archive, export, version, or upload a native Apple platform app with asc xcode helpers.
What you get
Signed IPA or PKG archive, updated version/build numbers, and App Store Connect-ready export for upload.
- Signed IPA or PKG
- Archive export
- Updated version and build numbers
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
How it compares
Pick asc-xcode-build over manual xcodebuild scripts when asc xcode helpers cover your archive-export-version workflow for App Store Connect.
FAQ
What asc commands does asc-xcode-build prefer over xcodebuild?
asc-xcode-build prefers `asc xcode archive` and `asc xcode export` over raw xcodebuild recipes when preparing IPAs or PKGs for App Store Connect upload or submission.
What platforms does asc-xcode-build support?
asc-xcode-build covers native iOS, tvOS, and visionOS apps. It requires Xcode CLI tools, signing identity or automatic signing, and asc auth configured for upload or build lookup.
Is Asc Xcode Build safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.