One of the iPhone apps I work on doesn't currently have a Settings.bundle in its project.
I want to add some debug settings in a Settings.bundle for our QA department, so they can enter different server URLs used for web services (so they can point at production, staging, dev, etc.).
For our final App Store build, I don't want there to be any settings for the app shown in Settings.app on the iPhone.
I tried an additional build step for the App Store build that would delete the Settings.bundle, but Xcode will then give an error that it can't find the file.
I tried an additional build step for the App Store build that would delete all but the root element from Settings.bundle/Root.plist, but that results in the app showing up in Settings.app, but no preferences show up when you navigate there.
I thought about creating a target just for the App Store build, that way I can uncheck Settings.bundle from being included for that target, but then I have to maintain build settings on both targets (yuck!).
Any other ideas?