Xcode4:依赖项目和构建配置
假设以下情况: 在 Xcode 中,我有一个项目依赖于项目 B 和 C 的目标。当我现在使用标准构建配置“调试”或“发布”构建项目 A 时,这些设置将传播到依赖目标的构建过程。
如果我创建自定义构建配置“Debug_custom”,则依赖的目标构建将使用 Release。这不仅涉及配置,还涉及结果构建的位置。 B 和 C 构建为“Release_iponeos”,而 A 构建为“Debug_custom-iphoneos”。链接器失败。
我想要的是传播构建设置以及构建位置。如果不为每个依赖的目标创建类似的配置,这是否可能?
不幸的是,由于其他技术限制,我无法为此使用工作空间概念。
Assuming the following situation:
In Xcode I have a project which is dependent on the targets of projects B and C. When I now build my project A with the standard build configurations Debug or Release, these settings are propagated to the build process of the dependant targets.
If I create a custom build configuration "Debug_custom" the dependant target builds use Release. This is not only concerning the configurations but also the locations where the results are build to. B and C are build to "Release_iponeos" while A is build to "Debug_custom-iphoneos". The Linker fails.
What I want is to propagate the build settings as well as the build location. Is this possible without creating a similar config for every single dependant taget?
Unfortunately, I cannot use the workspace concept for this, due to other technical restrictions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您查看过 .xcconfig 文件吗?
Have you looked into .xcconfig files?