缺少ios – .dylib文件
发布时间:2020-12-15 01:58:24 所属栏目:百科 来源:网络整理
导读:我试图在iOS 9中编译我的项目。我正在使用XCode7。 这是它的样子: 错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Applications/Xcode.app/Contents/Developer/Platforms/iPh
我试图在iOS 9中编译我的项目。我正在使用XCode7。
这是它的样子: 错误: /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。请帮我这个.. 解决方法
最后我固定了
https://forums.developer.apple.com/thread/4572。 将dylib文件添加到“其他链接器标志”中。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |