Settings bundle not showing up in iPhone settings

后端 未结 11 865
醉话见心
醉话见心 2021-02-01 01:05

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

相关标签:
11条回答
  • 2021-02-01 01:21

    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?

    0 讨论(0)
  • 2021-02-01 01:23

    I think you should Clean all targets , empty all caches delete the previous build,Quit the simulator and rebuild the code.Im sure this will work.

    0 讨论(0)
  • 2021-02-01 01:28

    Old question, new answer--hopefully it helps.

    My settings were no longer showing. I deleted my settings and then recreated them by hand and then diffed them. I found that I was missing

    <key>StringsTable</key>
    <string>Root</string>
    

    near the top of my Root.plist file.

    Maybe it's a new wrinkle with iOS9.

    0 讨论(0)
  • 2021-02-01 01:30

    While you are adding setting bundle please do not rename it. It should be "Settings.bundle" only. Do not alter it.

    0 讨论(0)
  • 2021-02-01 01:35

    Sometimes, there is an error in your settings, but XCode doesn't do a great job of warning you of this, it will just not deploy the (updated) bundle. I had this when adding a new Multi Value. I had forgotten to add the "Values" section. No errors, app will build onto the device, but the Settings will not be updated.

    You still want to make sure that you close from the settings app (double tap home, and remove it from the list of resident programs) completely after you rebuild, to ensure the Settings app reads your bundle anew.

    0 讨论(0)
提交回复
热议问题