ITMS-90788
错误提示:
WARNING ITMS-90788: “Incomplete Document Type Configuration. The CFBundleDocumentTypes dictionary array in the xxx 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.”
解决方案:
一搜LSHandlerRank
发现Info.plist中 Document Type(CFBundleDocumentTypes)字段的内容
需要添加LSHandlerRank 字段
这个字段提供四种可选参数:Owner 、 Alertnate 、 Default 、 None
制定对于某种类型的优先权级别
级别从左到右由高到低
最后一种None表示不接受此类型
ITMS-90737
提示信息:
ITMS-90737: Missing Document Configuration – By declaring the CFBundleDocumentTypes key in your app, you’ve indicated that your app is able to open documents. Please set the UISupportsDocumentBrowser key to “YES” if your app uses a UIDocumentBrowserViewController. Otherwise, set the LSSupportsOpeningDocumentsInPlace key in the Info.plist to “YES” (recommended) or “NO” to specify whether the app can open files in place. All document-based apps must include one of these configurations. For more information, visit。。。
解决方案:
在Info.plist中添加以下key并设置为YES
Supports Document Browser