bhawesh
bhawesh

Reputation: 1320

Build Single Project in Xcode Workspace

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..

Upvotes: 8

Views: 5098

Answers (2)

DanSkeel
DanSkeel

Reputation: 4005

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

enter image description here

Upvotes: 5

viral
viral

Reputation: 4208

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.

Upvotes: 3

Related Questions