苹果上线错误问题集锦

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值