Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
rudrankriyam avatar

Asc Xcode Build

  • 1.2k installs
  • 934 repo stars
  • Updated July 21, 2026
  • rudrankriyam/asc-skills

This is a copy of asc-xcode-build by rudrankriyam - installs and ranking accrue to the original listing.

asc-xcode-build is an asc CLI skill that automates Xcode archiving, exporting, version management, and App Store Connect upload for iOS, tvOS, and visionOS apps without raw xcodebuild recipes.

About

asc-xcode-build is a skill for developers preparing iOS, tvOS, or visionOS apps for App Store Connect upload using the asc CLI instead of hand-written xcodebuild scripts. It guides asc xcode archive and asc xcode export workflows, manages version and build numbers, and supports upload when App Store Connect authentication is configured. Preconditions include installed Xcode command line tools and available signing identities or automatic signing. Developers reach for asc-xcode-build when they need a reproducible IPA or PKG export path integrated with asc release tooling rather than debugging xcodebuild flags manually.

  • Manages Xcode version and build numbers 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 rejections
  • Supports --project-dir, --project, and --target flags for complex workspaces
  • Handles archive, export, IPA/PKG creation and direct upload to App Store Connect

Asc Xcode Build by the numbers

  • 1,217 all-time installs (skills.sh)
  • +20 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/rudrankriyam/asc-skills --skill asc-xcode-build

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.2k
repo stars934
Security audit3 / 3 scanners passed
Last updatedJuly 21, 2026
Repositoryrudrankriyam/asc-skills

How do you archive and export an iOS app with asc?

Automate archiving, exporting, and uploading iOS, tvOS, or visionOS apps to App Store Connect without wrestling with raw xcodebuild commands.

Who is it for?

iOS engineers using the asc CLI who need reliable archive, export, and upload without maintaining raw xcodebuild shell scripts.

Skip if: Android or cross-platform teams without Xcode or developers who only need local simulator builds without distribution artifacts.

When should I use this skill?

A developer needs to build, archive, export, or upload an iOS, tvOS, or visionOS app with asc xcode commands.

What you get

Archived Xcode build, exported IPA or PKG artifact, updated version and build numbers, and optional App Store Connect upload.

  • IPA or PKG export
  • Archived build
  • Updated version metadata

Files

SKILL.mdMarkdownGitHub ↗

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 patch

Use --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 json

Use --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 json

If 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 json

3. Upload or publish

Upload an exported IPA:

asc builds upload --app "APP_ID" --ipa ".asc/artifacts/App.ipa" --wait

Distribute to TestFlight:

asc publish testflight --app "APP_ID" --ipa ".asc/artifacts/App.ipa" --group "GROUP_ID" --wait

Publish 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 --confirm

macOS 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 json

If 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" \
  --wait

For .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=-allowProvisioningUpdates to asc xcode export.
  • Verify the Apple ID is logged into Xcode.
  • Verify profiles with the asc-signing-setup skill.

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 archive and asc xcode export for deterministic local artifacts.
  • Use --overwrite only when replacing existing local artifacts intentionally.
  • Use --wait on upload/publish paths when the next step depends on processed builds.
  • For submission readiness, use asc-submission-health.

Related skills

FAQ

When should developers use asc xcode over xcodebuild?

asc-xcode-build recommends asc xcode archive and asc xcode export when preparing App Store Connect uploads. The skill replaces ad hoc xcodebuild shell recipes with asc helpers for archive, export, and version management.

What artifacts does asc-xcode-build produce?

asc-xcode-build produces archived Xcode builds and exported IPA or PKG files for iOS, tvOS, or visionOS. The skill can also update version and build numbers and upload to App Store Connect when auth is configured.

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.

Release Managementdevopsintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.