Build Single Project in Xcode Workspace

4.8k Views Asked by At

I have XCode Workspace in which i have many Projects. I don't want to build entire workspace every time. How can I build a single Project in Xcode Workspace?

In Visual Studio i can right click on project and select project only->Build but i didn't find any option in XCode..

2

There are 2 best solutions below

0
viral On BEST ANSWER

You can create a scheme for that. For reference: XCode Scheme

I tried creating a workspace and added two projects in it. It appeared on the Menu (From which you select between device and simulators) for which project I want to fire build action.

1
DanSkeel On

You probably should do it with schemes. Open scheme and remove unwanted targets. From Build section.
enter image description here

enter image description here