XcodeGen alternatives and similar libraries
Based on the "Tools" category.
Alternatively, view XcodeGen alternatives based on common mentions on social networks and blogs.
Awesome-Design-Tools10.0 0.0 XcodeGen VS Awesome-Design-ToolsThe best design tools and plugins for everything 👉
infer9.9 9.9 XcodeGen VS inferA static analyzer for Java, C, C++, and Objective-C
R.swift9.7 0.0 L3 XcodeGen VS R.swiftStrong typed, autocompleted resources like images, fonts and segues in Swift projects
SwiftGen9.7 8.6 L5 XcodeGen VS SwiftGenThe Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!
Insanity9.6 6.3 L2 XcodeGen VS InsanityMeta-programming for Swift, stop writing boilerplate code.
Lona9.6 0.0 XcodeGen VS LonaA tool for defining design systems and using them to generate cross-platform UI code, Sketch files, and other artifacts.
Jazzy9.6 1.3 L5 XcodeGen VS JazzySoulful docs for Swift & Objective-C
Tweaks9.4 0.0 XcodeGen VS TweaksAn easy way to fine-tune, and adjust parameters for iOS apps in development.
appledoc9.3 0.0 L2 XcodeGen VS appledocObjective-c code Apple style documentation set generator.
Xcodes.app9.3 7.2 XcodeGen VS Xcodes.appThe easiest way to install and switch between multiple versions of Xcode - with a mouse click.
FBSimulatorControl9.2 7.5 L4 XcodeGen VS FBSimulatorControlidb is a flexible command line interface for automating iOS simulators and devices
BuildTimeAnalyzer9.1 0.0 L5 XcodeGen VS BuildTimeAnalyzerBuild Time Analyzer for Swift
FengNiao8.8 3.5 XcodeGen VS FengNiaoA command line tool for cleaning unused resources in Xcode.
LifetimeTracker8.6 0.0 XcodeGen VS LifetimeTrackerFind retain cycles / memory leaks sooner.
Peek8.5 0.0 L5 XcodeGen VS PeekAll new design. Inspect your iOS application at runtime.
SourceKitten8.4 6.4 L4 XcodeGen VS SourceKittenAn adorable little framework and command line tool for interacting with SourceKit.
xcbuild8.4 0.0 XcodeGen VS xcbuildXcode-compatible build tool.
ProvisionQL8.4 0.0 XcodeGen VS ProvisionQLQuick Look plugin for mobile apps and provisioning profiles
GDPerformanceView-Swift8.4 0.0 L4 XcodeGen VS GDPerformanceView-SwiftShows FPS, CPU and memory usage, device model, app and iOS versions above the status bar and report FPS, CPU and memory usage via delegate.
LicensePlist8.3 6.6 XcodeGen VS LicensePlistA license list generator of all your dependencies for iOS applications
swiftenv8.1 0.0 XcodeGen VS swiftenvSwift Version Manager
Xtrace8.1 0.0 XcodeGen VS XtraceTrace Objective-C method calls by class or instance
AppDevKit7.9 0.0 XcodeGen VS AppDevKitAppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs.
Provisioning7.8 0.0 L2 XcodeGen VS ProvisioningA Quick Look plug-in for .mobileprovision files
Pecker7.6 0.0 XcodeGen VS PeckerCodePecker is a tool to detect unused Swift code.
DBDebugToolkit7.5 0.0 L5 XcodeGen VS DBDebugToolkitSet of easy to use debugging tools for iOS developers & QA engineers.
Laurine7.4 0.0 L2 XcodeGen VS LaurineLaurine - Localization code generator written in Swift. Sweet!
Natalie7.4 0.0 XcodeGen VS NatalieStoryboard Code Generator.
ThisCouldBeUsButYouPlaying:black_joker: Generate Swift Playgrounds for any library.
Attabench7.3 0.0 L2 XcodeGen VS AttabenchMicrobenchmarking app for Swift with nice log-log plots
iSimulator7.0 0.0 XcodeGen VS iSimulatoriSimulator is a GUI utility to control the Simulator, and manage the app installed on the simulator.
pxctest6.7 0.0 L4 XcodeGen VS pxctestParallel XCTest
Traits6.6 0.0 L5 XcodeGen VS TraitsModify your native iOS app in real time.
Kin6.5 0.0 L4 XcodeGen VS KinSimple PBXProj Verifier
Blade6.4 0.0 XcodeGen VS BladeBetter asset workflow for iOS developers. Generate Xcode image catalogs for iOS / OSX app icons, universal images, and more.
ViewMonitor6.2 0.0 L4 XcodeGen VS ViewMonitorViewMonitor can measure view positions with accuracy.
Struct5.9 0.0 L5 XcodeGen VS StructXcode projects on steroids
Realm Browser5.6 0.0 L2 XcodeGen VS Realm BrowserDEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform.
Cookiecutter5.5 0.0 XcodeGen VS CookiecutterA template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file
PlayAlways5.4 0.0 L4 XcodeGen VS PlayAlwaysCreate Xcode playgrounds from your menu bar
Plank5.4 2.1 XcodeGen VS PlankA tool for generating immutable model objects
Rugby5.4 7.9 XcodeGen VS Rugby🏈 Cache CocoaPods for faster rebuild and indexing Xcode project
SuperDelegate5.2 0.0 L4 XcodeGen VS SuperDelegateSuperDelegate provides a clean application delegate interface and protects you from bugs in the application lifecycle
WatchdogInspector5.2 0.0 XcodeGen VS WatchdogInspectorShows your current framerate (fps) in the status bar of your iOS app
abandoned-strings5.0 0.0 L5 XcodeGen VS abandoned-stringsCommand line program that detects unused resource strings in an iOS or OS X application.
Swift Package Index5.0 9.3 XcodeGen VS Swift Package IndexThe Swift Package Index is the place to find Swift packages!
XCSwiftr4.7 0.0 L5 XcodeGen VS XCSwiftrAn Xcode Plugin to convert Objective-C to Swift
fastlane-plugin-appiconGenerate required icon sizes and iconset from a master application icon.
AVXCAssets-Generator4.6 0.0 L5 XcodeGen VS AVXCAssets-GeneratorAVXCAssets Generator takes path for your assets images and creates appiconset and imageset for you in just one click
Shark4.5 0.0 L4 XcodeGen VS SharkSwift CLI for strong-typing images, colors, storyboards, fonts and localizations
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of XcodeGen or a related project?
XcodeGen is a command line tool written in Swift that generates your Xcode project using your folder structure and a project spec.
The project spec is a YAML or JSON file that defines your targets, configurations, schemes, custom build settings and many other options. All your source directories are automatically parsed and referenced appropriately while preserving your folder structure. Sensible defaults are used in many places, so you only need to customize what is needed. Very complex projects can also be defined using more advanced features.
- ✅ Generate projects on demand and remove your
.xcodeprojfrom git, which means no more merge conflicts!
- ✅ Groups and files in Xcode are always synced to your directories on disk
- ✅ Easy configuration of projects which is human readable and git friendly
- ✅ Easily copy and paste files and directories without having to edit anything in Xcode
- ✅ Share build settings across multiple targets with build setting groups
- ✅ Automatically generate Schemes for different environments like test and production
- ✅ Easily create new projects with complicated setups on demand without messing around with Xcode
- ✅ Generate from anywhere including on CI
- ✅ Distribute your spec amongst multiple files for easy sharing and overriding
- ✅ Easily create multi-platform frameworks
- ✅ Integrate Carthage frameworks without any work
- ✅ Export Dependency Diagrams to view in Graphviz
Given an example project spec:
name: MyProject include: - base_spec.yml options: bundleIdPrefix: com.myapp packages: Yams: url: https://github.com/jpsim/Yams from: 2.0.0 targets: MyApp: type: application platform: iOS deploymentTarget: "10.0" sources: [MyApp] settings: configs: debug: CUSTOM_BUILD_SETTING: my_debug_value release: CUSTOM_BUILD_SETTING: my_release_value dependencies: - target: MyFramework - carthage: Alamofire - framework: Vendor/MyFramework.framework - sdk: Contacts.framework - sdk: libc++.tbd - package: Yams MyFramework: type: framework platform: iOS sources: [MyFramework]
A project would be created with 2 connected targets, with all the required configurations and build settings. See the [Project Spec](Docs/ProjectSpec.md) documentation for all the options you can specify, and [Usage](Docs/Usage.md) for more general documentation.
Make sure Xcode 11 is installed first.
mint install yonaskolb/xcodegen
git clone https://github.com/yonaskolb/XcodeGen.git cd XcodeGen make install
brew install xcodegen
Swift Package Manager
Use as CLI
git clone https://github.com/yonaskolb/XcodeGen.git cd XcodeGen swift run xcodegen
Use as dependency
Add the following to your Package.swift file's dependencies:
.package(url: "https://github.com/yonaskolb/XcodeGen.git", from: "2.32.0"),
And then import wherever needed:
This will look for a project spec in the current directory called
project.yml and generate an Xcode project with the name defined in the spec.
- --spec: An optional path to a
.jsonproject spec. Defaults to
project.yml. (It is also possible to link to multiple spec files by comma separating them. Note that all other flags will be the same.)
- --project: An optional path to a directory where the project will be generated. By default this is the directory the spec lives in.
- --quiet: Suppress informational and success messages.
- --use-cache: Used to prevent unnecessarily generating the project. If this is set, then a cache file will be written to when a project is generated. If
xcodegenis later run but the spec and all the files it contains are the same, the project won't be generated.
- --cache-path: A custom path to use for your cache file. This defaults to
There are other commands as well such as
xcodegen dump which lets out output the resolved spec in many different formats, or write it to a file. Use
xcodegen help to see more detailed usage information.
Click to expand!
How to export dependency diagrams:
xcodegen dump --type graphviz
To a file:
xcodegen dump --type graphviz --file Graph.viz
graphviz formatting was validated using GraphvizOnline, WebGraphviz, and Graphviz on MacOS.
git clone https://github.com/yonaskolb/XcodeGen.git cd XcodeGen swift package generate-xcodeproj
This uses Swift Package Manager to create an
xcodeproj file that you can open, edit and run in Xcode, which makes editing any code easier.
If you want to pass any required arguments when running in Xcode, you can edit the scheme to include launch arguments.
- See [Project Spec](Docs/ProjectSpec.md) documentation for all the various properties and options that can be set
- See [Usage](Docs/Usage.md) for more specific usage and use case documentation
- See [FAQ](Docs/FAQ.md) for a list of some frequently asked questions
- See [Examples](Docs/Examples.md) for some real world XcodeGen project specs out in the wild
If XcodeGen doesn't meet your needs try these great alternatives:
This tool is powered by:
Inspiration for this tool came from:
Pull requests and issues are always welcome. Please open any issues and PRs for bugs, features, or documentation.
XcodeGen is licensed under the MIT license. See [LICENSE](LICENSE) for more info.
*Note that all licence references and agreements mentioned in the XcodeGen README section above are relevant to that project's source code only.