将应用提交到应用商店错误 [英] Submitting app to app store error
本文介绍了将应用提交到应用商店错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将我的应用提交到AppStore时,出现此错误:
When I submit my app to AppStore, I get this error:
错误ITMS-90149:此捆绑包无效.Info.plist中CFBundleDocumentTypes键的值必须是字典数组,每个字典至少包含CFBundleTypeName键."
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中,添加:
In my Info.plist, I add :
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>public.jpeg</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>public.jpeg</string>
</array>
</dict>
</array>
错误仍然存在.
感谢您的帮助
推荐答案
您不尊重不同键的格式.
Your doesn't respect the format for the diferents keys.
<dict>
<key>CFBundleTypeName</key>
<string>My File Format</string>
<key>CFBundleTypeIconFiles</key>
<array>
<string>MySmallIcon.png</string>
<string>MyLargeIcon.png</string>
</array>
<key>LSItemContentTypes</key>
<array>
<string>com.example.myformat</string>
</array>
<key>LSHandlerRank</key>
<string>Owner</string>
</dict>
这篇关于将应用提交到应用商店错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文