简体   繁体   中英

XCode 7 compile multiple targets

Can I compile multiple targets with one click? I've 2 targets but even that's cumbersome to switch and compile while iterating.

As apple official developers website pointed out, you can edit building scheme to determine which targets are built when you choose Run, Test, Profile, Analyze, or Archive from the Product menu.
So try to follow below steps :

From the Scheme toolbar menu, choose a scheme and run destination.

From the same menu, choose Edit Scheme to display the scheme dialog.

In the left column, select Build.

For each target, select the actions for which to build the target.

Click Close.

So that's it. For more information take a look at this link .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM