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來(lái)打開(kāi)文件,需要在info.plist中設(shè)置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.")
打開(kāi)plist文件查看,發(fā)現(xiàn)Document types下沒(méi)有Handler rank的key。如下圖:
在“Document Type Name”平級(jí)處添加“Handler rank”的key,value我這里選擇的是default.如下圖: