This is the accompanying sample code containing simple project.yml
to generate Xcode project on-demand.
Steps:
- Open iTerm (or Terminal.app) and install Homebrew (you can skip installing Homebrew if it already installed).
- Install XcodeGen via
brew install xcodegen
command. - Since this project demonstrates Carthage integration with XcodeGen, install Carthage first.
- Clone this repository and
cd
to its root folder. - Run
carthage update
. - Run
xcodegen
(orxcodegen generate
on newest version) to generate the main project file (.xcodeproj
). - Open the project file from Finder or
open SwiftyApp.xcodeproj
command. - Wait for Xcode to launch, then Build and Run.
Feel free to contact me on mailtaufik at gmail dot com if you find any issues or seek more advanced Xcodegen usages.