Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4 - One Click Build to Multiple Devices?

In Xcode 4 is it possible to somehow setup so that with one click of the 'Run' button in the top left have Xcode build to more than one device with one click?

It would save a lot of time, constantly having to click build to iPhone, then build to iPod, then iPad is irritating one after another. All in one click would be ideal.

An example of how this would be helpful is when building a universal app, where I want to quickly build and run on both my iPhone and iPad at the same time.

Any help appreciated, thanks.

like image 641
Josh Kahane Avatar asked Nov 05 '22 11:11

Josh Kahane


1 Answers

Add a new target to your project: File -> New -> New Target... From Other category choose Aggregate. Then build that target which aggregates all other targets you're interested in.

P.S. Universal App is an app which is built from one target. Two targets are two apps.

like image 108
Eimantas Avatar answered Nov 10 '22 21:11

Eimantas