构建 iPhone 应用程序时的警告消息

发布于 2024-10-09 01:12:39 字数 431 浏览 0 评论 0原文

我正在使用模拟器的“调试”配置构建 iPhone 应用程序。我收到此警告:

ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/GData.build/Debug/GDataFramework.build/Objects-normal/i386' following -L not found

我也收到此警告:

ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/Debug' following -F not found

有任何见解吗?我该如何解决这个问题?这些警告究竟意味着什么?

I'm building an iPhone application using the Simulator on "Debug" configuration. I get this warning:

ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/GData.build/Debug/GDataFramework.build/Objects-normal/i386' following -L not found

I also get this warning:

ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/Debug' following -F not found

Any insight? How can I fix this? What do these warnings even mean?

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

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

发布评论

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

评论(2

暗恋未遂 2024-10-16 01:12:39

-L 通常是链接器 ld 的参数,告诉它在哪些目录中搜索与代码链接的库。

事实上,您收到此警告本身并不是问题,除非您也收到由它引起的错误(情况似乎并非如此)。 ld 会很高兴地忽略不存在的目录。

如果您想摆脱警告,您可以:

  • 创建这些目录(最简单);或者
  • 找出项目设置中特定链接器命令行设置的位置,然后更改它们(可能是最好的解决方案)。

-L is usually the argument to the linker ld to tell it what directories to search in for libraries to link with your code.

The fact that you're getting this warning is not a problem in itself unless you also get errors caused by it (which doesn't appear to be the case). ld will happily ignore directories that don't exist.

If you want to get rid of the warnings, you can either:

  • create those directories (easiest); or
  • find out where in your project settings the particular linker command line settings are being set, and change them (probably the best solution).
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文