Adding an Existing Project to a Workspace
In the project navigator, Control-click in the empty space below the list.
Choose Add Files to “<WorkspaceName>”.
Navigate into the folder containing the project package.
Select the project package and click Add.
Add an existing project to a workspace to add a product to a multiproduct development endeavor. When you need to work on two or more related projects, you can add them to a workspace so that you can create interproject relationships.
For example, you can have a workspace with an application project, add a framework project to the workspace, and make the application dependent on the framework. When you build the application, Xcode builds the library first, if it needs to be built.
When adding a project to a workspace, you add the project package. A project package is a directory that the Finder displays as a file. It contains information about the project, such as references to the files that are part of the project, the project’s groups, build settings, and target definitions.
The video shows the process of adding a second project, called MyFramework, to a workspace called MyWorkspace.
After you add a project to your workspace, the project appears in the project navigator.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-06-11)