Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add more than one scheme in xcodebuild?

I mm building xcode workspace in terminal only (xcodebuild - Internal build). It has five schemes. But, at a time I can build only one scheme. I would like to build all the scheme at a time. A single workspace may have more than one scheme.

like image 618
Sivanantham M Avatar asked Nov 01 '22 09:11

Sivanantham M


1 Answers

Yes, a single workspace may have multiple schemes but they all must be built independently - it's not possible to build all schemes at a time.

There's an xcodebuild option: -alltargets that might be helpful - because schemes are based on targets - however I'm not sure it's useful for this case.

like image 116
Opal Avatar answered Nov 16 '22 16:11

Opal