项目打包上传时,碰到一个错误:
ERROR ITMS-90149: "This bundle is invalid. The value of the CFBundleDocumentTypes key in the Info.plist must be an array of dictionaries, with each dictionary containing at least the CFBundleTypeName key.”
根据提示,我去Info.plist下看,是否有CFBundleDocumentTypes这个值,发现了问题!Document Type Name是空的。3A708F79-34EC-4A48-9549-8EAD9BD568F7.png
解决方法:给Document Type Name加上名字,就可以上传啦。APP因为用到了打开其他类型的文档,不能删除,如果没有用到,删除Document types这个键值就可以。