xcodegen

Generate Xcode projects from project.yml and run xcodebuild commands.

4|Updated Nov 22, 2025
One-click install
npx skills add https://github.com/r1cA18/dotfiles --skill xcodegen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xcodegen
Source: https://github.com/r1cA18/dotfiles/tree/main/skills/swift-dev-toolkit/skills/xcodegen
Command: npx skills add https://github.com/r1cA18/dotfiles --skill xcodegen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation and management of Xcode projects using XcodeGen, eliminating the need to manually configure .xcodeproj files through the Xcode GUI.

Core Features & Use Cases

  • Project Initialization: Quickly set up new Xcode projects with a project.yml configuration file.
  • Automated Generation: Generate .xcodeproj files directly from the command line.
  • Use Case: When starting a new iOS or macOS application, use this Skill to generate the project structure and configuration, ensuring consistency and saving setup time.

Quick Start

Use the xcodegen skill to generate a new Xcode project for an application named MyApp.

Frequently Asked Questions about xcodegen

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

FAQPage Schema
How do I generate an Xcode project from the command line?

Generate an Xcode project from the command line by defining a declarative `project.yml` configuration. This process uses XcodeGen to automatically create the `.xcodeproj` file, bypassing manual GUI setup.

Can I automate iOS and macOS project creation without using the Xcode GUI?

Yes, you can automate iOS and macOS project creation by defining your project structure in a `project.yml` file. This declarative approach generates the `.xcodeproj` file directly from the CLI.

What is a declarative `project.yml` configuration for Xcode project generation?

A declarative `project.yml` configuration is a markup file used to define Xcode project settings. XcodeGen reads this file to automatically generate the `.xcodeproj` file, ensuring consistent project setup.

Does XcodeGen support post-generation build commands for iOS development?

Yes, XcodeGen supports post-generation build commands for iOS development. After creating the `.xcodeproj` file from your configuration, it facilitates automated building using `xcodebuild`.

What is the best way to maintain consistency across multiple macOS application setups?

The best way to maintain consistency across macOS application setups is using a declarative `project.yml` file. This approach standardizes the generation of `.xcodeproj` files, ensuring uniform configuration.

Do I need to manually configure `.xcodeproj` files if I use a CLI project generator?

No, you do not need to manually configure `.xcodeproj` files if you use a CLI project generator. By defining a `project.yml` configuration, the generation and placeholder replacement are fully automated.