App settings appear in simulator but not on device?

你说的曾经没有我的故事 提交于 2020-02-25 04:33:04

问题


Hey folks, I'm setting up my first application settings bundle right now. I went through the process of creating a Settings.bundle in the project root, settings the Root.plist to display as an iPhone Settings plist, etc.

So – the app's settings panel displays in Settings.app just as I would expect in the iPhone Simulator. However, it is not present in my device settings when I deploy there. My test device is an iPod Touch running iOS4. I've rebooted the device just to make sure everything has reloaded... still nothing. Can anyone think of a reason that my settings panel would work in the Simulator but not on my Device?

Thanks for you help!


回答1:


You may need to run your app at least once after installing your app before the app's setting will appear.

Not sure if a quit and restart of the Settings app (from the "multi-tasking" bar) might also be required.




回答2:


I've experienced this myself - it usually happens when you mistype a key in the plist or if required keys are missing.



来源:https://stackoverflow.com/questions/3935658/app-settings-appear-in-simulator-but-not-on-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!