Set iTunes File Sharing enabled in info.plist to YES only in DEBUG configuration
<p>In Xcode, can I set the <code>"Application supports iTunes file sharing"</code> / <code>UIFileSharingEnabled</code>setting to <code>YES</code>/<code>NO</code> based on my app's configuration (debug vs release)? </p>

<p>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 <code>YES</code>or <code>NO</code>in the field, it defaults to <code>NO</code>.</p>

<p>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. </p>

<p>Thanks</p>