gpt4 book ai didi

ios - 当我验证我的应用程序时,CFBundleDocumentTypes 键必须是字典数组

转载 作者:行者123 更新时间:2023-11-28 23:30:09 27 4
gpt4 key购买 nike

当我尝试向 App Store 验证我的应用程序时,出现以下错误,如下所示:

此 bundle 无效。 Info.plist 中 CFBundleDocumentTypes 键的值必须是字典数组,每个字典至少包含 CFBundleTypeName 键。

这是我的代码:

    <key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFiles</key>
<array>
<string>inCommand icon114</string>
</array>
<key>CFBundleTypeName</key>
<string>xxx</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.xxxxxxxx.quizMaker.xxx</string>
</array>
</dict>
<dict/>
</array>

最佳答案

最初将此作为评论,但很确定这是错误的。

倒数第二行<dict/>是一个空字典,不包含键 CFBundleTypeName错误提到的。

删除它就可以了!

关于ios - 当我验证我的应用程序时,CFBundleDocumentTypes 键必须是字典数组,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56876006/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com