Info.plist 中 CFBundleDocumentTypes 键的值必须是字典数组
The value of the CFBundleDocumentTypes key in the Info.plist must be an array of dictionaries
虽然我们没有在应用程序中使用 CFBundleDocumentTypes 并且上周成功上传了以前的版本,但我们在将应用程序上传到应用程序商店时遇到了以下问题
错误 ITMS-90149:“此包无效。Info.plist 中 CFBundleDocumentTypes 键的值必须是字典数组,每个字典至少包含 CFBundleTypeName 键。”
我们如何解决这个问题?
XCODE 11.3.1
谢谢。
您好,您可以打开您的 info.plist 文件作为源文件并检查您的 CFBundleDocumentTypes 键是否具有正确的格式,即
<key>CFBundleDocumentTypes</key>
<array>
<dict>
</dict>
</array>
我想在你的情况下你还缺少 CFBundleTypeName 键,这是必须的
即
<key>CFBundleTypeName</key>
<string>Your App</string>
要完整了解代码请参考
经过这么多小时的研究终于成功上传到应用商店。
apple好像对app的提交有一些改动
我们在 info.plist
中有以下内容,在过去 10 次提交中正常工作
<key>UTExportedTypeDeclarations</key>
<array>
<string>public.url</string>
<string>public.plain-text</string>
<string>public.image</string>
</array>
删除并上传存储后一切正常
不知道与 CFBundleDocumentTypes
有什么关系,但这就是原因
虽然我们没有在应用程序中使用 CFBundleDocumentTypes 并且上周成功上传了以前的版本,但我们在将应用程序上传到应用程序商店时遇到了以下问题
错误 ITMS-90149:“此包无效。Info.plist 中 CFBundleDocumentTypes 键的值必须是字典数组,每个字典至少包含 CFBundleTypeName 键。”
我们如何解决这个问题?
XCODE 11.3.1
谢谢。
您好,您可以打开您的 info.plist 文件作为源文件并检查您的 CFBundleDocumentTypes 键是否具有正确的格式,即
<key>CFBundleDocumentTypes</key>
<array>
<dict>
</dict>
</array>
我想在你的情况下你还缺少 CFBundleTypeName 键,这是必须的 即
<key>CFBundleTypeName</key>
<string>Your App</string>
要完整了解代码请参考
经过这么多小时的研究终于成功上传到应用商店。
apple好像对app的提交有一些改动
我们在 info.plist
中有以下内容,在过去 10 次提交中正常工作
<key>UTExportedTypeDeclarations</key>
<array>
<string>public.url</string>
<string>public.plain-text</string>
<string>public.image</string>
</array>
删除并上传存储后一切正常
不知道与 CFBundleDocumentTypes
有什么关系,但这就是原因