进入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’

网友评论