.dylib文件丢失 [英] .dylib file is missing
本文介绍了.dylib文件丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在iOS 9中编译我的项目.我正在使用XCode7. 看起来是这样的: 错误:
I am trying to compile my project in iOS 9. I am using XCode7. Here is how it looks like: error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libz.dylib (No such file or directory)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libiconv.dylib (No such file or directory)
我的dylib文件显示为红色,因此我尝试再次添加它,但它不是dylib文件,所有文件均显示在.tbd
而不是.dylib
中.请帮助我.
My dylib files shows in red color so i tried to add it again but the is no dylib files, all the files are shown in .tbd
instead of .dylib
. Please help me on this..
推荐答案
最后我修复了它. https://forums.developer.apple.com/thread/4572 . 将dylib文件添加到其他链接器标志"中.
At last i fixed it. https://forums.developer.apple.com/thread/4572. Add the dylib files into "Other Linker Flags".
这篇关于.dylib文件丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文