error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtoo
2015-12-21 15:11
393 查看
因为一个错误困扰了许久 记录下解决办法:
错误如下
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libsqlite3.tbd is not an object file (not allowed in a library)。
错误原因可能是 项目在Xcode7.1 上运行 对于老版本的libsqlite.dylib 不能适应新的lisqlite3.tbd 可以在你添加 .tbd之后 点开文件 在开头找到类似user/libsqlite...这样的路径 复制下来。
再 点击add other 去添加后缀是.dylib文件 方法 点开add other之后再按Command + shift + g 前往复制地址的那个文件夹 添加.dylib 文件,再编译就能通过了。 (记得移除掉.tbd 文件)
错误如下
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/libsqlite3.tbd is not an object file (not allowed in a library)。
错误原因可能是 项目在Xcode7.1 上运行 对于老版本的libsqlite.dylib 不能适应新的lisqlite3.tbd 可以在你添加 .tbd之后 点开文件 在开头找到类似user/libsqlite...这样的路径 复制下来。
再 点击add other 去添加后缀是.dylib文件 方法 点开add other之后再按Command + shift + g 前往复制地址的那个文件夹 添加.dylib 文件,再编译就能通过了。 (记得移除掉.tbd 文件)
相关文章推荐
- Android SDK Android NDK Android Studio 官方下载地址
- Ubuntu启动NFS出错出现错误* Not starting: portmapper is not running的解决方案
- 其他软件烘培的光影贴图在unity中如何使用
- Android Studio学习之实用快捷键
- Android 实用开源控件
- 使用 SWFObject.js 插入Flash
- 关于微信编辑器,我有话说~~~
- Android apk中安装另一个apk
- MTK平台释疑android M 配置中断相关问题
- 投影纹理映射(Projective Texture Mapping) 【转】
- Android开发人员官方站点文档 - 国内踏得网镜像
- Android 实现两个list分别出现(在某一时刻只出现一个控件)
- IOS ipa安装不上 e8000087
- 如何设置android 5.0主题,状态栏,toolbar颜色设定
- hellocharts-android 简单使用
- ios 友盟新浪微博分享 常见问题
- 如何设计一个 iOS 控件?(iOS 控件完全解析)
- Android 4 编程入门经典
- swift学习记录(存储属性)
- IOS 广告轮播控件 - BannerView