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'
Environment:
Flutter iOS build. Xcode 14.1
Fails on Flutter Build step.
Reproducibility
Happens every time
Local reproduction
Works fine on local machine.
MacOS. Xcode 14.0.1