Creating a Workspace

Start a multiproduct development endeavor by creating a workspace.

To create a workspace
  1. Choose File > New > Workspace.

  2. Enter the workspace name, and specify its location in your file system.

  3. Click Save.

A workspace serves as a common container for several related projects.

Xcode uses the workspace to actively manage many explicit and implicit relationships among the included projects and their targets. For example, this capability lets you specify that when you build an app, Xcode must build any products the app depends on, such as a library.

Once your workspace is created, you can create projects within it, and you can add existing projects to it.