flutter 导出iOS问题3

更新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

相关推荐
HarderCoder10 小时前
Swift 中的基本运算符:从加减乘除到逻辑与或非
ios·swift
HarderCoder10 小时前
Swift 中“特性开关”实战笔记——用编译条件+EnvironmentValues优雅管理Debug/TestFlight/AppStore三环境
ios·swift
HarderCoder10 小时前
Swift 并发任务中到底该不该用 `[weak self]`?—— 从原理到实战一次讲透
ios·swift
FeliksLv11 小时前
iOS 集成mars xlog
ios
2501_9151063212 小时前
CDN 可以实现 HTTPS 吗?实战要点、部署模式与真机验证流程
网络协议·http·ios·小程序·https·uni-app·iphone
大熊猫侯佩2 天前
在肖申克监狱玩转 iOS 26:安迪的 Liquid Glass 复仇计划
ios·swiftui·swift
非专业程序员2 天前
逆向分析CoreText中的字体级联/Font Fallback机制
前端·ios
库奇噜啦呼2 天前
【iOS】简单的四则运算
macos·ios·cocoa
white-persist2 天前
【burp手机真机抓包】Burp Suite 在真机(Android and IOS)抓包手机APP + 微信小程序详细教程
android·前端·ios·智能手机·微信小程序·小程序·原型模式
Bryce李小白3 天前
Flutter 自定义 View 权威指引
flutter