设置包未显示在iPhone设置中 [英] Settings bundle not showing up in iPhone settings

查看:149
本文介绍了设置包未显示在iPhone设置中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的iPad应用中添加一个设置套装,但它会随机显示在iPad设置菜单中。

I am trying to add a Settings bundle in my iPad app, but it randomly shows up in the iPad settings menu.

当我在调试模式下运行时(设备它没有显示出来。
当我在分销模式下构建然后在iPad上部署应用程序时,它会显示但不在iPad B上(我有几个iPad需要测试)。

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).

我确信Root.plist是正确的,因为它有时有效,有时不行。我还尝试使用添加设置包时创建的默认plist。

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.

除了在项目中添加Settings.bundle之外,还有什么我忘了做的吗?

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

提前致谢。

推荐答案

我遇到了这个问题。现在时间。

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.

编辑:确保您的设置包已添加到当前目标也很重要。这种疏忽可能很难调试。

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.

这篇关于设置包未显示在iPhone设置中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆