An open API service indexing awesome lists of open source software.

https://github.com/cameroncooke/xcodebuildmcp-ios-template

A scaffold template for iOS app projects
https://github.com/cameroncooke/xcodebuildmcp-ios-template

Last synced: 17 days ago
JSON representation

A scaffold template for iOS app projects

Awesome Lists containing this project

README

          

# XcodeBuildMCP iOS Template

A modern iOS application template using a **workspace + SPM package** architecture for clean separation between app shell and feature code. This template is designed to be used with [XcodeBuildMCP](https://github.com/cameroncooke/XcodeBuildMCP).

## Features

- โœจ **Modern Architecture**: Workspace + Swift Package Manager structure
- ๐Ÿ“ฆ **Clean Separation**: Minimal app shell with features in SPM package
- ๐Ÿ—๏ธ **Buildable Folders**: Xcode 16 support for automatic file discovery
- ๐Ÿงช **Test Ready**: Preconfigured with Swift Testing and XCUITest
- โš™๏ธ **XCConfig Based**: Build settings managed through configuration files
- ๐Ÿš€ **AI-Friendly**: Designed for use with AI coding assistants

## Quick Start

### Using XcodeBuildMCP

The easiest way to use this template is through XcodeBuildMCP:

```bash
# Using the XcodeBuildMCP tool
mcp scaffold_ios_project --projectName "YourApp" --outputPath "./YourApp"
```

### Manual Download

You can also download the template directly from the [releases page](https://github.com/cameroncooke/XcodeBuildMCP-iOS-Template/releases).

## Template Structure

```
template/
โ”œโ”€โ”€ Config/ # XCConfig build settings
โ”‚ โ”œโ”€โ”€ Debug.xcconfig
โ”‚ โ”œโ”€โ”€ Release.xcconfig
โ”‚ โ”œโ”€โ”€ Shared.xcconfig
โ”‚ โ””โ”€โ”€ Tests.xcconfig
โ”œโ”€โ”€ MyProject.xcworkspace/ # Workspace file
โ”œโ”€โ”€ MyProject.xcodeproj/ # App shell project
โ”œโ”€โ”€ MyProject/ # App target (minimal)
โ”‚ โ”œโ”€โ”€ Assets.xcassets/
โ”‚ โ”œโ”€โ”€ MyProjectApp.swift
โ”‚ โ””โ”€โ”€ MyProject.xctestplan
โ”œโ”€โ”€ MyProjectPackage/ # SPM package for features
โ”‚ โ”œโ”€โ”€ Package.swift
โ”‚ โ”œโ”€โ”€ Sources/
โ”‚ โ””โ”€โ”€ Tests/
โ””โ”€โ”€ MyProjectUITests/ # UI automation tests
```

## Customization

When using this template, the following placeholders will be replaced:

- `MyProject` โ†’ Your project name
- `com.example.MyProject` โ†’ Your bundle identifier
- `MyProjectFeature` โ†’ Your feature module name
- Build settings can be customized in the `Config/` XCConfig files

## Requirements

- Xcode 16.0 or later
- iOS 18.0+ deployment target (configurable)
- Swift 6.0

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This template is available under the MIT license. See the LICENSE file for more info.

## Related Projects

- [XcodeBuildMCP](https://github.com/cameroncooke/XcodeBuildMCP) - AI-powered Xcode build and development tools
- [XcodeBuildMCP macOS Template](https://github.com/cameroncooke/XcodeBuildMCP-macOS-Template) - macOS app template

---

Generated with โค๏ธ for the Swift community