Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode - Building for Multiple Targets Simultaneously

I have one Xcode project with multiple targets. During development, it is becoming laborious to compile and install each separately.

Is there a way, through scripting or otherwise; that I can automate the build and install to device of multiple targets at once.

Many thanks in advance!

like image 617
adam Avatar asked Jul 28 '11 13:07

adam


1 Answers

Have you tried using xcodebuild from the command line?

xcodebuild -project projName -alltargets

man xcodebuild will list all available options.

like image 127
sergio Avatar answered Sep 19 '22 09:09

sergio