单击图标,DocumentPicker Extension立即停止 [英] DocumentPicker Extension immediately stopped on clicking on the icon

查看:46
本文介绍了单击图标,DocumentPicker Extension立即停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了文档选择器扩展名(文件提供和文档选择器都具有默认实现),当我尝试使用DocumentPickerViewController打开扩展名时,它通过显示以下问题立即关闭DocumentPickerViewController 插件com.apple.UIKit.fileprovider.default无效. 我还设置了基本的应用程序组和iCloud权利,这些都很好.即使从documentViewController,默认的iCloud也可以正常工作. 实际上,我正在使用相同的容器应用程序测试扩展. 如果有人可以提供有关此行为的一些见解,那将是一个很大的帮助!

I have created the document picker extension(Both File provide and document picker , with the default implementations) and when i try to open the extension using the DocumentPickerViewController, its immediately closing the DocumentPickerViewController by showing the below issue plugin com.apple.UIKit.fileprovider.default invalidated. I have setup the basic app groups and iCloud entitlement as well, Which are all fine. Even from the documentViewController the default iCloud is working perfectly fine. Actually i am testing the extension using the same container application. If somebody can provide some insight about this behavior, it would be a great help !!

谢谢, 毗湿奴

推荐答案

我遇到了这个问题,实际上NSExtensionFileProviderDocumentGroup键的值在X时由XCode错误地放在了文件提供程序扩展的info.plist上.添加应用程序组.
然后,我将文件与Apple的NBox示例进行了比较,最后弄清楚了.
因此,有时要提防XCode自动动作,进行交叉检查以节省时间.

I got the issue, actually the value of NSExtensionFileProviderDocumentGroup key was put incorrectly put on the info.plist of the file provider extension by XCode by the time of adding the App group.
Then I compared the files with the NBox sample from Apple and finally figured it out.
So sometimes beware of XCode automatic actions, make a cross check so to save to time.

这篇关于单击图标,DocumentPicker Extension立即停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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