A workspace is an Xcode document that groups multiple projects and other files so you can work on them together. Indexing, code completion, refactoring, and other content-related tasks work seamlessly across a workspace.
Workspaces don’t define targets or build behaviors; this information is defined at the project level. However, you can initiate a combined build of the products for the projects within a workspace. Xcode will detect implicit link dependencies between multiple targets in a workspace and build targets in the correct order.