Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在构建阶段运行脚本。
Xcode 允许您定义用户定义的构建设置。我想我会使用这些设置来存储我想要传递给脚本的值或路径。
这可能吗?如何在构建阶段将用户定义的构建设置传递给脚本?你能指点我一些文档或教程吗?
我正在使用 Xcode 4.3.1
您需要做的就是使用适当形式的变量名称,具体取决于您使用它的位置。
例如:运行脚本对话框中的 $foo。