•1 min read
Kill the .xcodeproj
Project management without the headaches.
pbxproj merge conflicts are a special kind of hell. You don't need to live there anymore.
XcodeGen turns your messy, 5000-line project file into a clean, readable YAML. Your project becomes a side effect of your code, not a burden you have to carry.
"Your project file is not your code. Stop treating it like it is."
How it works
Stop adding files via the Xcode UI. Just put them in a folder and let the tool do the work.
- Install:
brew install xcodegen - Define: Create a
project.ymlat the root. - Run:
xcodegen generate
name: MyProject
targets:
MyProject:
type: application
platform: macOS
sources: [Sources]
The result
Every time you run the command, XcodeGen scans your folders and builds a fresh project file. No more "Missing file" errors, no more Git conflicts, no more bullshit.
Commit the YAML. Ignore the project.
Did you enjoy this article?
Share it with your network or follow me for more.