Depending on how many parameters you need to change, you can use a macro, for example.
#define _DEBUG_MODE NSString endpoiunt = @"foo"; #elseif NSString endpoiunt = @"foo"; #endif
Then you can easily attach the compiler flag to the debugging scheme in which you declare the macro without worrying that it has different purposes.
If you prefer to store the .plist file, you can easily use the same approach, but instead change the file name to hardcidng the endpoint. But you will have both sheets copied to the package if two goals are not used (I think itβs possible to conditionally include files in the copy phase, but I'm not sure how to do it, though)
Jack source share