【问题标题】:Problem with Flutter fastlane with flavorsFlutter fastlane 的问题
【发布时间】:2022-05-12 09:39:03
【问题描述】:

有人用过flutter和两种口味的fastlane吗?我有一个颤振应用程序,有两个方案 App_A 和 App_B。我正在尝试为配置 App_A 配置 fastlane。 我的项目:

  • 配置:(Debug-App_A、Debug-App_B、Release-App_A、Release-AppB)
  • 目标:(App_A,App_B)
  • 方案:(App_A,App_B)

我执行的命令列表:

  • flutter clean
  • flutter build ios --flavour App_A
  • cd ios
  • fastlane ios beta

输出:

[20:01:03]: ▸ ❌  error: Unable to load contents of file list: '/Target Support Files/Pods-App_A/Pods-App_A-frameworks-Release-input-files.xcfilelist' (in target 'App_A' from project 'Runner')
[20:01:03]: ▸ ❌  error: Unable to load contents of file list: '/Target Support Files/Pods-App_A/Pods-App_A-frameworks-Release-output-files.xcfilelist' (in target 'App_A' from project 'Runner')
[20:01:03]: ▸ ❌  error: Unable to load contents of file list: '/Target Support Files/Pods-App_A/Pods-App_A-resources-Release-input-files.xcfilelist' (in target 'App_A' from project 'Runner')
[20:01:03]: ▸ ❌  error: Unable to load contents of file list: '/Target Support Files/Pods-App_A/Pods-App_A-resources-Release-output-files.xcfilelist' (in target 'App_A' from project 'Runner')

【问题讨论】:

    标签: ios xcode flutter cocoapods fastlane


    【解决方案1】:

    flutter clean 之后执行以下操作:

    flutter pub get
    cd ios
    pod update
    pod repo update
    pod install --repo-update
    pod update
    pod install
    

    然后,运行应用程序以确保一切正常, 现在你可以lane

    【讨论】:

      猜你喜欢
      • 2022-12-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-27
      • 2018-09-27
      • 2019-02-10
      • 1970-01-01
      • 2020-05-08
      相关资源
      最近更新 更多