CocoaPods安装第三方SDK报错:
[!] The dependency `ReactiveCocoa (~> 4.1.0)` is not used in any concrete target.
解决方法:
在podfile 文件中输入如下:
platform :iOS, “9.0”
target "项目名" do
pod 'ReactiveCocoa', '~> 4.1.0'
end
重新安装后再次报错如下:
[!] Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword_end
use_frameworks!
解决办法:
在podfile中输入如下:
arget "项目名" do
pod 'ReactiveCocoa', '~> 4.1.0'
end
use_frameworks!