How to build multiple “Xcode” projects using shell script.
We are often in a situation where our Mac project involves several XCode projects and building them individually can be a lot of effort.
If you are a build engineer the following shell script can be handy.
Step 1.1 – Absolute source path of XCode projects.
Step 1.2 – Change directory & run the configuration command for build the xcode project.
1 For Release build
xcodebuild -configuration Release -target AnimatingViews
xcodebuild -configuration Release -target CircleView
2 For Debug build
xcodebuild -configuration Debug -target AnimatingViews
xcodebuild -configuration Debug -target CircleView