I am trying to add a Settings bundle in my iPad app, but it randomly shows up in the iPad settings menu.
When I run in Debug mode (Device or Simulator) it doesn\'t show
What you are going to want to try is to Delete the application off of your iPad devices, and open the simulator and go up to the top menu and click the button "Reset Content and Settings". Then reinstall your application to your devices and the simulator and it should all be working now.
On iPhone, delete and install app. You have to run the app once to see the settings.
iOS Settings App Bug Workaround
If all of the other answers don't work for you, try using the App Switch UI (double-press Home button) to kill the Settings App.
After everything else didn't work, this fixed the issue for me.
App Store Installs & Older iOS Versions
While I have not tested the hypothesis, I suspect, based on all of the other answers, that this has been an issue for several versions of iOS.
Rather, I think it has everything to do with how the App is installed. Apps installed via the App Store do not appear to exhibit this behavior while Apps installed via Xcode or similar side-loading mechanisms appear to never notify the Settings App that there is a new Settings.bundle
available.
Launching the Settings App from scratch always seems to work, however.
I am trying to add a Settings bundle in my iPad app, but it randomly shows up in the iPad settings menu.
One way this can happen is if you reinstall the application on the device while the Settings app is running. For example, the Settings app will display your app's settings content the first time you run it from Xcode, but then it disappears the second time, for not obvious reason.
The easy solution is to kill the Settings app and launch it again, and you'll see your app's settings right there were you expect them.
I noticed the same problem on the Simulator. At the first launch of Settings.app, the pane wasn't there, at subsequent launches it was. It the problem intermittent for subsequent launches of Settings.app? Is the problem dependent on the locale of the device?
I've had this problem a few times now.
On the simulator; do a 'Reset Content and Settings', clean, and redeploy.
On the device; delete the app, clean, and redeploy.
EDIT: It's also important to make sure that your settings bundle has been added to the current target. That oversight can be very difficult to debug.