views:

959

answers:

5

Hi everyone,

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 up. When I build in Distribution mode and then deploy the app on the iPad A it shows up but doesn't on iPad B (I have several iPads to test).

I am sure the Root.plist is correct as it works sometimes and sometimes not. I also tried with the default plist created when you add a Settings bundle.

Is there something I forgot to do apart from adding the Settings.bundle in the project?

Thanks in advance.

A: 

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?

Ortwin Gentz
A: 

I have a feeling that this isn't the exact same issue that you're experiencing, but I found that the adding a Settings.bundle to an existing project required a relaunch of the Simulator before the Settings app picked up on my app's bundle. Restart the Simulator, not just the app within the Simulator.

Not sure about the actual devices, but I wonder if there's a similar rule there?

drukepple
+1  A: 

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.

Brandon