So I merged our native iOS app and our newer version which uses Flutter. The app has a switch to toggle between the native UI and the Flutter UI. The native code had separate xcconfig files for different environments like Staging.xcconfig.
When building the iOS app with Flutter it generates its own xcconfig files on every build. One is Generated.xcconfig and the other is something like Pod-Runner.debug.xcconfig. How do I add properties from the native Staging.xcconfig to these generated files?
As far as possible I don’t want to change the structure and working of the native app.
I feel like there’s a very simple solution to this but I don’t know much about it as I am quite new to iOS.




