七牛使用cocoapods导入后编译不通过报错undefined symbols for architecture armv7 referenced from
2016-01-06 12:22
393 查看
从昨天导入sdk后就一直编译不通过,网上各种查找原因,很多人说的缺库,但是又没说缺什么库,然后自己也以为是缺库,折腾了好久,最后还是没从这里突破,实在无奈之下,决定重新导入,删除pods的相关文件,重新来一遍,最后在导入完之后,有个警告
警告如下
[!] The `XXXX [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `XXXX [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
根据上面的提示重新设置了flag的值,ok,编译没问题了
博文参考
http://www.cnblogs.com/ihojin/p/xcode6-cocoapods-error.html
警告如下
[!] The `XXXX [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `XXXX [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
根据上面的提示重新设置了flag的值,ok,编译没问题了
博文参考
http://www.cnblogs.com/ihojin/p/xcode6-cocoapods-error.html
相关文章推荐
- DOM LEVEL 1 中的那些事儿[总结篇-下]
- HTML5标签不兼容ie怎么办?
- nodejs 设置proxy
- javascript的25个经验
- C# Web Forms - Using jQuery FullCalendar
- JQuery获取请求url的所有参数
- CSS的几种选择器
- 【Javascript】解决Ajax轮询造成的线程阻塞问题(过渡方案)
- js 监听 iframe url变化
- 转载:JS获取回车事件(兼容各浏览器) 另easyul框架的方式
- 彻底明白JavaScript中的标签语句
- JQuery按钮倒计时
- Extjs 下拉框(1)
- jsp中使用el表达式和jstl函数输出格式化数字
- 160106_html5_全局属性
- js反射机制
- css相关记录-background
- nodejs+mongoose简单关联+增删改查
- CSS3第二日--圆角边框
- Html5添加简单实用的轻量级评分插件教程