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.plist
中
Document Type
(CFBundleDocumentTypes)字段的内容
需要添加
LSHandlerRank
字段
這個字段提供四種可選參數:
Owner
、
Alertnate
、
Default
、
None
制定對于某種類型的優先權級别
級别從左到右由高到低
最後一種None表示不接受此類型