更新flutter版本后
c
macminihao@macMiniaodeMini SocialIM % flutter --version
Flutter 3.7.12 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 4d9e56e694 (1 year, 2 months ago) • 2023-04-17 21:47:46 -0400
Engine • revision 1a65d409c7
Tools • Dart 2.19.6 • DevTools 2.20.1
macminihao@macMiniaodeMini SocialIM %
pod install时出现
第一个问题
c
[!] CocoaPods could not find compatible versions for pod "AppsFlyerFramework":
In snapshot (Podfile.lock):
AppsFlyerFramework (= 6.10.1)
In Podfile:
appsflyer_sdk (from `.symlinks/plugins/appsflyer_sdk/ios`) was resolved to 6.14.3, which depends on
AppsFlyerFramework (= 6.14.3)
Specs satisfying the `AppsFlyerFramework (= 6.10.1), AppsFlyerFramework (= 6.14.3)` dependency were found, but they required a higher minimum deployment target.
版本冲突,统一版本为6.10.1
第二个问题
提示更新本地 spec
尝试更新本地 spec。可以运行以下命令来更新:
c
pod repo update
第三个问题
c
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit":
In Podfile:
facebook_app_events (from `.symlinks/plugins/facebook_app_events/ios`) was resolved to 0.0.1, which depends on
FBSDKCoreKit (~> 17.0)
flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 4.4.1, which depends on
FBSDKLoginKit (= 14.1.0) was resolved to 14.1.0, which depends on
FBSDKCoreKit (= 14.1.0)
17.0改成14.1.0
第四个问题
c
[!] CocoaPods could not find compatible versions for pod "GoogleAppMeasurement":
In Podfile:
firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`) was resolved to 10.5.1, which depends on
Firebase/Analytics (= 10.15.0) was resolved to 10.15.0, which depends on
Firebase/Core (= 10.15.0) was resolved to 10.15.0, which depends on
FirebaseAnalytics (~> 10.15.0) was resolved to 10.15.0, which depends on
FirebaseAnalytics/AdIdSupport (= 10.15.0) was resolved to 10.15.0, which depends on
GoogleAppMeasurement (= 10.15.0)
google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 0.0.1, which depends on
Google-Mobile-Ads-SDK (= 9.6.0) was resolved to 9.6.0, which depends on
GoogleAppMeasurement (< 10.0, >= 7.0)
9.6.0改成10.6.0