Flutter快速车道有味道的问题



有人用过带有flutter和两种口味的fastlane吗?我有一个具有两个方案App_a和App_B的flutter应用程序。我正在尝试为配置App_A配置快速通道。我的项目:

  • 配置:(调试应用程序A、调试应用程序B、发布应用程序A和发布应用程序B(
  • 目标:(应用程序A、应用程序B(
  • 方案:(应用程序A、应用程序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')

flutter clean之后执行以下操作:

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

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

解决方案:-

flutter clean
rm -Rf ios/Pods
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.framework
rm -Rf ios/Flutter/Flutter.podspec
flutter pub get
cd ios
pod install 
cd ..
flutter build ios
flutter run

相关内容

  • 没有找到相关文章

最新更新