pod》error:The dependency `` is not used in any concrete target
2016-01-08 12:53
441 查看
内容提要:
podfile升级之后到最新版本,pod里的内容必须明确指出所用第三方库的target,否则会出现The dependency `` is not used in any concrete target这样的错误。
以下从三个步骤陈述:
1. Podfile升级
查看pod版本:
pod 升级(此时是升级到1.0.0.beta.2版本):
2. 错误内容:
我的Podfile的内容是:
pod install后出现错误The dependency `` is not used in any concrete target
3. 修改方法:
Podfile内容更改:
这样再运行pod install,就会成功了。
podfile升级之后到最新版本,pod里的内容必须明确指出所用第三方库的target,否则会出现The dependency `` is not used in any concrete target这样的错误。
以下从三个步骤陈述:
1. Podfile升级
查看pod版本:
pod --version
pod 升级(此时是升级到1.0.0.beta.2版本):
sudo gem install cocoapods --pre
2. 错误内容:
我的Podfile的内容是:
platform :ios, '7.0' pod 'ReactiveCocoa', '2.1.8' pod 'objectiveflickr', '2.0.4' pod 'LinqToObjectiveC', '2.0.0' pod 'SDWebImage', '3.6'
pod install后出现错误The dependency `` is not used in any concrete target
pod install /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/rbconfig.rb:213: warning: Insecure world writable dir /Applications/Cocos/tools/ant/bin in PATH, mode 040777 Re-creating CocoaPods due to major version update. Updating local specs repositories Analyzing dependencies [!] The dependency `ReactiveCocoa (= 2.1.8)` is not used in any concrete target. The dependency `objectiveflickr (= 2.0.4)` is not used in any concrete target. The dependency `LinqToObjectiveC (= 2.0.0)` is not used in any concrete target. The dependency `SDWebImage (= 3.6)` is not used in any concrete target.
3. 修改方法:
Podfile内容更改:
platform :ios, '7.0' target "RWTFlickrSearch" do pod 'ReactiveCocoa', '2.1.8' pod 'objectiveflickr', '2.0.4' pod 'LinqToObjectiveC', '2.0.0' pod 'SDWebImage', '3.6' end
这样再运行pod install,就会成功了。
相关文章推荐
- 2016年新计划
- BadgeView 圆形数字提醒 购物车常用
- js日期时间函数
- 使用Windows批处理命令快速获取某一路径下文件的文件名
- NSSet和NSArry的区别&NSSet的一般用法
- 【iOS开发】判断app启动的方式(launchOptions)
- netbeans c/c++ (or gcc) & nasm co-work
- 表达式2叉树(前序,中序,后序)的非递归实现_模板实现
- 转:DDR3详解(以Micron MT41J128M8 1Gb DDR3 SDRAM为例)之一
- SICP 习题 (2.6) 解题总结:丘奇计数
- JsonConvert 使用注意事项之 Serializable
- iOS中NSnumber的使用 NSValue的使用
- C# winForm 将窗体状态栏StatusStrip示例(显示当前时间)
- Java 代码创建selector
- iOS中NSdata的使用
- Android-Universal-Image-Loader是一个开源的UI组件程序
- 将数据库中的用户名和密码显示到JSP页面
- 显著性检测算法学习阶段论文总结(1)
- LinkedList双链表简单分析,及单链表的实现代码
- NSURLSession强引用问题