【发布时间】:2021-03-19 10:14:51
【问题描述】:
今天更新CocoaPads的时候,突然遇到如下问题,感觉pch文件根本不行。记录在这里:
当我尝试在我的 Swift 5 项目中更新或安装 pod 时遇到了这个问题
[!] CocoaPods could not find compatible versions for pod "SKActivityIndicatorView":
In Podfile:
SKActivityIndicatorView (~> 1.0.0)
Specs satisfying the `SKActivityIndicatorView (~> 1.0.0)` dependency were found, but they required a higher minimum deployment target.
You have either:
out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.*
[!] Automatically assigning platform `iOS` with version `9.3` on target `SocialStatus` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
我该如何解决这个错误?
【问题讨论】:
标签: ios swift xcode cocoapods podfile