UIFileSharingEnabled 没有效果

人气:396 发布:2022-10-16 标签: iphone itunes ios4

问题描述

我已将 UIFileSharingEnabled 添加到 .plist.根据建议,我有:

I've added UIFileSharingEnabled to the .plist. Per suggestions, I have:

删除了该应用并重新部署了几次重新部署后尝试断开连接

我无法在 iTunes 的文件共享"部分显示该应用程序.在另一个应用程序上,这完美无缺.它不起作用的应用程序有一些奇特的内部结构(一个易于携带的游戏;因此,它有自己的主循环,它没有主笔尖,...).它工作的应用程序几乎是标准交易.此外,测试是在两种不同的设备上完成的:它适用于装有 iOS 4.2.1 的 iPod Touch 4,但它不适用于装有 iOS 4.2.1 的 iPhone 3GS.

I have not been able to get the app visible in the File Sharing section in iTunes. On another app, this works flawlessly. The app where it doesn't work has a bit exotic internals (an easily portable game; as such, it has its own mainloop, it doesn't have a main nib, ...). The app where it does work is pretty much standard deal. Also, testing was done on two different devices: it worked on iPod Touch 4 with iOS 4.2.1, but it didn't work on iPhone 3GS with iOS 4.2.1.

由于隔离问题有点困难(我可能会花费更多时间来隔离它),是否还有其他已知要求才能使文件共享正常工作?

Since it's a bit difficult to isolate the problem (and I could probably spend several MORE hours isolating it), is there any other known requirement to get file sharing to work?

推荐答案

CFBundleDisplayName 在 .plist 中是额外需要的.为什么 Apple 选择要求这样做,我不知道.

CFBundleDisplayName is additionally required in the .plist. Why Apple elected to require this, I have no idea.

288