BMN
BMN

Reputation: 8508

Create two sub-projects within one in Xcode

I want to create a game project, and I need a server and a client for this.

I'm using Xcode 4.3, how can I create a projet Game which will contain two "sub-projects" :

I'd like to be able to build both independently. Is this kind of trick possible with xcode or shall I create two different projects ?

Thanks

Upvotes: 0

Views: 87

Answers (1)

James Webster
James Webster

Reputation: 32076

Yes, this is possible, it's called a workspace. Drag one of your projects onto the other and you will be asked to make a workspace.

  • Create a Server Project.
  • Create a client Project.
  • Drag the client project into the server project and drop it below. (or vice-versa)

Upvotes: 2

Related Questions