Relative Content

Tag Archive for iosflutterxcode

How to use different plists for different schemes in xcode

Is there a simple way to have different plists for different schemes? I use xcode only rarely for building Flutter apps.
There are two schemes in the project ‘uat’ and ‘prod’. I see there are two folders config/uat and config/prod and there are files GoogleService-Info.plist in both of them.
I need different config for Facebook auth, so is it possible to create new plists in each folder, let’s say FacebookAuth-Info.plist and put values to these files?
Will it work this way? Or do I need to set something else? Somehow bind the file with the scheme. The version of Xcode is 15.2.