Re-creating CocoaPods due to maj

2017-03-31  本文已影响81人  奶茶007
pod intall

报错:

Re-creating CocoaPods due to major version update.
Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `PieCharts` required by `Podfile`

Specs satisfying the `PieCharts` dependency were found, but they required a higher minimum deployment target.

[!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

之前Podfile文件

platform :ios, ‘7.0'
target "项目名称" do
    pod 'ELCImagePickerController', '~> 0.2.0'
    pod 'SDWebImage', '~>3.7'
    pod 'AFNetworking', '~> 3.0'
    pod 'FMDB'
    pod 'PieCharts'
end

需要修改文件为:

platform :ios, ‘8.0'
target "项目名称" do
    pod 'ELCImagePickerController', '~> 0.2.0'
    pod 'SDWebImage', '~>3.7'
    pod 'AFNetworking', '~> 3.0'
    pod 'FMDB'
    pod 'PieCharts'
end

原因是因为引入的某些第三方框架要求版本要8.0+

上一篇 下一篇

猜你喜欢

热点阅读