【发布时间】:2021-10-11 11:22:34
【问题描述】:
我刚刚尝试使用 VNC Viewer 和 SSH 通过 CodeMagic 构建我的 Flutter 应用程序,但没有成功。
我尝试运行“pod install”,结果:
Analyzing dependencies
firebase_analytics: Using Firebase SDK version '8.3.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '8.3.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.3.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "firebase_analytics":
In Podfile:
firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)
Specs satisfying the `firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)` dependency were found, but they required a higher minimum deployment target.
[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
我也尝试删除 Podfile.lock 和 pod install。结果相似。我也尝试过运行 pod repo update,然后运行 pod update,结果与上述类似。
我也尝试手动将我的 Podfile iOS 版本更改为 10,但没有运气。
我尝试了这些命令的各种组合:
flutter clean
flutter build ios
pod install
pod update
pod repo update
pod install --repo-update
如有任何回复,我们将不胜感激
【问题讨论】:
标签: ios xcode flutter cocoapods firebase-analytics