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+