Creating a Workspace
Start a multiproduct development endeavor by creating a workspace.
Choose File > New > Workspace.
Enter the workspace name, and specify its location in your file system.
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.