Using flutter_flavorizr for building multiple app

Description of the issue

We have an app that uses flutter_flavorizr. With that package the app can have more than one product configurations like bundle id-s, app icons etc.

For this to work, a flutter command needs to be executed that would create the necessary files for both android and iOS. Everything seems to be generated except some of the files that would be generated in the build method when running the pod install on iOS. Those files should be here:

'/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-FLAVOR-input-files.xcfilelist'
'/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-FLAVOR-output-files.xcfilelist'

So the Flutter Build Step fails with this error:

Error (Xcode): Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-FLAVOR-input-files.xcfilelist'

Error (Xcode): Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-FLAVOR-output-files.xcfilelist'


Flutter iOS build. Xcode 14.1

Fails on Flutter Build step.


Happens every time

Local reproduction

Works fine on local machine.

MacOS. Xcode 14.0.1

Hi @zoltan.boda, welcome to our discuss board! My initial thoughts is this could be an issue with your podfile. Can you try going into your project’s ./iOS folder and run:
2. pod deintegrate
3. pod install

Let’s see if that cleans things up for you!