Hello, I would like to define some properties in an xcconfig file and then use them in code. If I got it right, I'm supposed to first define a variable in an xcconfig file, then add that variable to info.plist file and then retrieve it in code by:
Bundle.main.object(forInfoDictionaryKey: "KEY")
However, this way I was only able to retrieve strings. I haven't been able to retrieve a boolean or an integer. In the info.plist file, when I choose a variable type different than string, xcode doesn't let me set variable as $(VARIABLE_NAME). Is what I'm trying to do possible? Am I missing something?