We use a library that requires config values to be set in an Okta.plist
file.
As our app has 3 environments, we have config per environment within .xcconfig
files.
This allows us to set things like app icon, app name etc etc depending on the build type (dev, test, release).
I'd like to use those values within Okta.plist
also, so I can configure the instance of Okta we use, however I can't seem to set those values using the config file.
In the case of our Info.plist
we simple reference the value:
/// Release.xcconfig
...
APP_DISPLAY_NAME = Some Text
...
/// Info.plist
<key>CFBundleDisplayName</key>
<string>${APP_DISPLAY_NAME}</string>
And it works.
How can I achieve the same with Okta.plist
? I tried the same approach however it use the key as the value, not the value from the config file.