美文网首页
Re-creating CocoaPods due to maj

Re-creating CocoaPods due to maj

作者: 奶茶007 | 来源:发表于2017-03-31 10:21 被阅读81次
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+

相关文章

网友评论

      本文标题:Re-creating CocoaPods due to maj

      本文链接:https://www.haomeiwen.com/subject/epimottx.html