Ετικέττα : xcode

Build/Debug Xcode Project from Terminal – Part II

Build Xcode project from Command Line

Tired of having Xcode open all the time, with all its overhead, simply for re-building your project? Use the terminal!

(*) Install Command Line Tools

Make sure the command line tools are installed. (On Mavericks/Yosemite, they’re not). If not, install them using :

xcode-select --install
1. Check out your available build settings
xcodebuild -project YourProjectName.xcodeproj -list
2. Build it using the desired scheme/target/configuration. E.g.
xcodebuild -project YourProjectName.xcodeproj -scheme YourSchemeName -configuration Release