Re-creating CocoaPods due to major version update

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+

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

推荐阅读更多精彩内容