XCode - 调试配置删除所有 GCC 4.2 设置

发布于 2024-09-12 17:43:48 字数 388 浏览 4 评论 0原文

我有一个项目,我刚刚完成了艰苦的重建,因为复制目标会导致它失败(无论您在构建设置中设置什么,副本都将无法找到其 info.plist 文件)。

不管怎样,现在我已经重建了项目,我遇到了另一个问题:

如果我处于“发布”配置,我可以访问构建设置中的以下 GCC 4.2 部分:

  • GCC 4.2 - 代码生成
  • GCC 4.2 - 语言
  • GCC 4.2 - 预处理
  • GCC 4.2 - 警告

如果我将配置切换到“调试”,所有这些部分都会消失。我可以通过在“调试”和“发布”之间切换来切换它们的可见性。退出并重新启动 XCode 没有帮助。

为了在调试配置中访问 GCC 4.2 设置,我还需要一些其他设置吗?

I have a project that I've just finished painstakingly rebuilding because duplicating a target would cause it to fail (the copy would fail to find its info.plist file no matter what you set in the build settings).

Anyway, now that I've rebuilt the project I've encountered another problem:

If I'm in "Release" configuration, I have access to the following GCC 4.2 sections in the build settings:

  • GCC 4.2 - Code Generation
  • GCC 4.2 - Language
  • GCC 4.2 - Preprocessing
  • GCC 4.2 - Warnings

If I switch the configuration over to "Debug", all of those sections disappear. I can toggle their visibility by switching between "Debug" and "Release". Quitting and restarting XCode doesn't help.

Is there some other setting I need to have in order to get access to the GCC 4.2 settings in a debug configuration?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妥活 2024-09-19 17:43:48

第三次从头开始重建项目解决了这个问题。

XCode 项目中似乎有一些设置可能会搞砸整个事情。

Rebuilding the project from scratch a third time solved this issue.

There seem to be some settings in XCode projects that can botch the whole thing.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文