iOS App Store Connect Operation Warning: LSHandlerRank

0x00

应用添加了可以打开其他应用文档的功能。
但缺少了一个参数
导致了一个警告:
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."


0x01

一搜LSHandlerRank
发现Info.plistDocument Type(CFBundleDocumentTypes)字段的内容
需要添加LSHandlerRank 字段
这个字段提供四种可选参数:OwnerAlertnateDefaultNone
制定对于某种类型的优先权级别
级别从左到右由高到低
最后一种None表示不接受此类型

想了解更多
请搜索 iOS UTI


一款轻量级的布局框架,自动布局

https://github.com/xjh093/JHFrameLayout


发布了201 篇原创文章 · 获赞 220 · 访问量 19万+

猜你喜欢

转载自blog.csdn.net/xjh093/article/details/95449929