ReactiveCocoa使用CocoaPods安装失败

进入podfile文件:vim podfile    进行编辑:输入 i

退出编辑:1、按Esc;  2、输入  :wq(记住先输入冒号:再输入wq) 

最后 pod install

1、[!] Invalid `Podfile` file: undefined local variable or method `use_frameworks' for #.

解决方案:在podfile文件中,加入use_frameworks!这句话。

2、[!] The dependency `ReactiveCocoa (~> 4.1.0)` is not used in any concrete target.

The dependency `SDWebImage (~> 3.7)` is not used in any concrete target.

没有添加指定的Xcode文件所在的文件夹


3、Specs satisfying the `ReactiveCocoa (~> 4.1.0)` dependency were found, but they required a higher minimum deployment target.

原因:iOS 版本要求过低

解决方法:

将后面的‘8.0’改成‘10.0’

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容