I need to use User-defined settings to set the supported interface orientations for iPhone, depending on my build configuration.
In User-defined settings I have:
In my info.plist I set:
But it doesn't work. The iPhone is launched in Portrait mode... To be sure it comes from my custom settings, I run without User-defined variable in the .plist, and it works fine:
What is wrong?