Xcode -- 库的链接器警告 -- Debug-iphonesimulator 与 Debug-iphoneos

发布于 2024-10-08 22:18:44 字数 241 浏览 0 评论 0原文

我正在构建一个带有图书馆的项目。我制作的版本是debug版本。该库将自身构建到以下目录中:

LibraryPath/build/Debug-iphoneos

当我链接我的主项目时,我收到以下警告:

Directory 'LibraryPath/build/Debug-iphonesimulator' 以下 -L 未找到

Xcode 找到所有内容,并且构建工作得很好,但警告很烦人。我怎样才能摆脱它?

I am building a project with a library. The version I am making is the debug version. The library builds itself into the following directory:

LibraryPath/build/Debug-iphoneos

When I am linking my main project, I get the following warning:

Directory 'LibraryPath/build/Debug-iphonesimulator' following -L not found

Xcode finds everything, and the build works just fine, but the warning is annoying. How can I get rid of it?

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

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

发布评论

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

评论(2

向日葵 2024-10-15 22:18:44

检查应用程序目标的属性和构建位置每个配置路径。

Check the properties for the application Target and the Build Locations Per-configuration paths.

白鸥掠海 2024-10-15 22:18:44

问题是我将库设置为“设备”,将主项目设置为“模拟器”。

The problems was that I had the library set to "Device" and the main project set to "simulator".

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