在Xcode中,scheme到底是什么?

In Xcode, what exactly is a scheme?

起初我以为方案是每个构建类型的值列表。默认情况下,有两种方案,Debug 和 Release。在应用程序目标中,您可以通过选择值(在默认情况下为调试或发布)即时自定义每个方案。

但是,现在我认为这些计划比那更大。您的项目默认带有一个方案,该方案中包含为不同构建类型自定义设置的能力,包括 运行、测试配置文件等...因此在一个方案中,您可以为运行 阶段,在另一个 shceme 中,您可以为 运行 阶段设置 abc。

我在这里有点困惑。谁能简化这个?

谢谢

来自 Xcode 的帮助:

scheme

A scheme is a collection of settings that specify the targets to build for a project, the build configuration to use, and the executable environment to use when the product is launched. When you open an existing project (or create a new one), Xcode automatically creates a scheme for each target. The default scheme is named after your project.

在这里,"build configuration" 就是您在上面所说的 "Debug" 和 "Release"。