美文网首页
在其他App拷贝文件到自己的App,上架遇到的问题

在其他App拷贝文件到自己的App,上架遇到的问题

作者: 晓_我想去环游世界 | 来源:发表于2019-10-14 15:42 被阅读0次

1、WARN: WARNING ITMS-90737: "Invalid Document Configuration. Document Based Apps should support either the Document Browser (UISupportsDocumentBrowser = YES) or implement Open In Place (LSSupportsOpeningDocumentsInPlace = YES/NO). Visit https://developer.apple.com/document-based-apps/ for more information."

解决方法:如果你的app中有用到UIDocumentInteractionController来打开文件,需要在info.plist中设置UISupportsDocumentBrowserYES

2、提示缺少LSHandlerRank警告(WARNING ITMS-90788: "Incomplete Document Type Configuration. The CFBundleDocumentTypes dictionary array in the ***** Info.plist should contain an LSHandlerRank value for the CFBundleTypeName '$documentTypeName' entry. Refer to https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-SW1 for more information on the LSHandlerRank key.")

打开plist文件查看,发现Document types下没有Handler rank的key。如下图:

在“Document Type Name”平级处添加“Handler rank”的key,value我这里选择的是default.如下图:

相关文章

网友评论

      本文标题:在其他App拷贝文件到自己的App,上架遇到的问题

      本文链接:https://www.haomeiwen.com/subject/jehauctx.html