CocoaPods报错:The dependency `` is not used in any concrete target
2016-01-16 15:36
591 查看
内容提要:
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,就会成功了。
相关文章推荐
- uboot编译学习----执行完make TQ2440_config后,在mkconfig 中
- node.js入门示例
- Linux内核中网络数据包的接收-第二部分 select/poll/epoll
- stm32f103-gy86测试代码资源
- ubuntu 13.10 64位安装及配置 google拼音输入法及Adobe flash player、mp3 插件安装、中文GBK编码等 -转
- java设计模式之观察者模式
- 微信根据Code获取OpenId
- GuideMap开发记录 1
- 数据库SQL优化大总结之 百万级数据库优化方案
- makefile 项目模版
- makefile 单文件夹模版
- AlertDialog(对话框)示例
- 【CodeVS】1245 - Ⅲ - 变式Ⅱ之【Uva】11997 K Smallest Sum
- android(android studio)中使用注解框架butterknife
- SDWebImage源码分析
- 18岁生日
- linux 消息队列
- android studio preference 在哪
- iOS 开发学习之 User Interface(4)UIView 与 UIViewController【一】
- Jquery 动画效果 左右移动