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中设置UISupportsDocumentBrowser为YES
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。如下图:
![](https://img.haomeiwen.com/i1977034/45ae78fc0e23ffca.png)
在“Document Type Name”平级处添加“Handler rank”的key,value我这里选择的是default.如下图:
![](https://img.haomeiwen.com/i1977034/185ca7e7f6420dcb.png)
网友评论