当我尝试使用 "flutter run" 命令运行 flutter ios 项目时,会出现以下错误:
`Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. To update the CocoaPods specs, run: pod repo update`
同时也会出现以下错误:
`Error running pod install`
然后我在 ios/ 目录下运行了 "pod install" 命令,但是出现以下错误:
`[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly": In Podfile: firebase_core (from .symlinks/plugins/firebase_core/ios) was resolved to 1.12.0, which depends on Firebase/CoreOnly (= 8.11.0)
None of your spec sources contain a spec satisfying the dependency: Firebase/CoreOnly (= 8.11.0).
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.`
我尝试了 "pod install --repo-update" 命令,但是还是出现了相同的错误。请问您能否帮我解决这个问题?
`Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. To update the CocoaPods specs, run: pod repo update`
同时也会出现以下错误:
`Error running pod install`
然后我在 ios/ 目录下运行了 "pod install" 命令,但是出现以下错误:
`[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly": In Podfile: firebase_core (from .symlinks/plugins/firebase_core/ios) was resolved to 1.12.0, which depends on Firebase/CoreOnly (= 8.11.0)
None of your spec sources contain a spec satisfying the dependency: Firebase/CoreOnly (= 8.11.0).
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.`
我尝试了 "pod install --repo-update" 命令,但是还是出现了相同的错误。请问您能否帮我解决这个问题?