Xcode -- 库的链接器警告 -- Debug-iphonesimulator 与 Debug-iphoneos
我正在构建一个带有图书馆的项目。我制作的版本是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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查应用程序目标的属性和构建位置每个配置路径。
Check the properties for the application Target and the Build Locations Per-configuration paths.
问题是我将库设置为“设备”,将主项目设置为“模拟器”。
The problems was that I had the library set to "Device" and the main project set to "simulator".