asc-xcode-build

Automate iOS/macOS app builds, archives, and exports with xcodebuild.

33|2|Updated Feb 21, 2025
One-click install
npx skills add https://github.com/yspreen/dotfiles --skill asc-xcode-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: asc-xcode-build
Source: https://github.com/yspreen/dotfiles/tree/main/.agents/skills/asc-xcode-build
Command: npx skills add https://github.com/yspreen/dotfiles --skill asc-xcode-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of building, archiving, and exporting iOS/macOS apps using xcodebuild before uploading to App Store Connect, enabling IPA or PKG artifacts for distribution.

Core Features & Use Cases

  • Build and archive iOS apps and export IPA for App Store Connect.
  • Build and archive macOS apps and export PKG for distribution.
  • Ensure proper signing and provisioning workflows (automatic signing supported) for smooth submission.

Quick Start

Execute the build, archive, and export workflow to generate an IPA or PKG for App Store Connect.

Frequently Asked Questions about asc-xcode-build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate xcodebuild to archive and export an iOS app for App Store Connect?

To automate xcodebuild for App Store submission, execute the build, archive, and export workflow to generate an IPA artifact. This requires Xcode command-line tools and a valid signing identity configured for distribution.

What is the process to generate a PKG file for macOS app distribution?

Generating a PKG file for macOS distribution involves archiving the macOS app using xcodebuild and exporting the build artifact. This workflow produces a properly signed PKG package ready for App Store submission or external distribution.

Do I need a specific signing identity and provisioning profiles to export an IPA?

Yes, exporting an IPA requires a valid signing identity and provisioning profiles, or you must enable automatic signing. These prerequisites ensure the archived iOS app is properly authenticated and packaged for App Store submission.

Can I use automatic signing when building and archiving macOS and iOS apps?

Yes, automatic signing is supported when building and archiving apps for iOS and macOS targets. This simplifies the export workflow by letting Xcode automatically manage the signing identity and provisioning profiles required for distribution.

Why does my xcodebuild export fail when generating an IPA for App Store submission?

An xcodebuild export fails when generating an IPA if the required Xcode command-line tools are missing, or if the signing identity and provisioning profiles are invalid. Ensure automatic signing is properly configured or valid profiles are manually provided.