Project Navigator Help: Creating a Workspace in Xcode

Creating a Workspace

Start a multiproduct development endeavor by creating a workspace. 

  1. 1.Choose File > New > New Workspace.
  2. 2.Enter the workspace name, and specify its location in your file system.
  3. 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 application, Xcode must build any products the application depends on, such as a library.

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

1.打开Xcode,选择File > New > New Workspace。

2.输入workspace名字,并指定存储位置。

3.保存。

Related Articles

原文地址:https://www.cnblogs.com/ihojin/p/xcode-workspace.html