JohnSundell/SwiftPlate
JohnSundell/SwiftPlate has 1,765 GitHub stars and 85 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-08 01:58 UTC. Last push 2019-03-31.
Easily generate cross platform Swift framework projects from the command line
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalSwiftPlate
Easily generate cross platform Swift framework projects from the command line.
SwiftPlate will generate Xcode projects for you in seconds, that support:
- CocoaPods
- Carthage
- Swift Package Manager
- iOS
- macOS
- watchOS
- tvOS
- Linux
Just run swiftplate, and you’ll be presented with a simple step-by-step guide:

Usage
Using Homebrew (recommended)
$ brew install swiftplate
$ swiftplate
Using Make
$ git clone [email protected]:JohnSundell/SwiftPlate.git
$ cd swiftplate
$ make
Using Marathon
$ git clone [email protected]:JohnSundell/SwiftPlate.git
$ marathon run swiftplate/main
Using the Swift interpreter directly
$ git clone [email protected]:JohnSundell/SwiftPlate.git
$ swift swiftplate/main.swift
Using Xcode
$ git clone [email protected]:JohnSundell/SwiftPlate.git
$ open swiftplate/SwiftPlate.xcodeproj
Command line arguments
Besides using the guide to input information, SwiftPlate also supports command line arguments when launched. When a certain piece of information is supplied through an argument, SwiftPlate won't ask for that information when run. These are the arguments currently supported:
| Name | Description | Long parameter | Short parameter |
|---|---|---|---|
| Destination | Where the generated project should be saved | --destination |
-d |
| Project name | The name of your project | --project |
-p |
| Author name | Your name | --name |
-n |
| Author email | Your email (for Podspec) | --email |
-e |
| GitHub URL | Any URL you'll be hosting the project at (for Podspec) | --url |
-u |
| Organization name | The name of your organization | --organization |
-o |
| Repo | Any custom SwiftPlate repository that should be used for templates | --repo |
-r |
| Force | Prevent user prompt at the end (for CIs etc.) | --force |
-f |
Questions or feedback?
Feel free to open an issue, or find me @johnsundell on Twitter.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,874 starspublic-apis/public-apis
A collective list of free APIs
497,119 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,899 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,168 stars