In Xcode, can I set the "Application supports iTunes file sharing"
/ UIFileSharingEnabled
setting to YES
/NO
based on my app's configuration (debug vs release)?
I've seen discussions of using user defined build settings to set string values of string plist items (e.g. $(MY_DEFINED_SETTING), but can you do this with this boolean setting? This wouldn't be exactly the same thing, but as long as it gets removed automatically when building a release version of the app, that's fine. But if I try to enter anything beside YES
or NO
in the field, it defaults to NO
.
I know one can have two different versions of a file based on the configuration, but would be simpler not to have two copies of largely the same file. But if that's the best solution, then any tips on implementing that would be appreciated.
Thanks