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+

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容