gpt4 book ai didi

ios - 将应用程序提交到应用程序商店错误

转载 作者:行者123 更新时间:2023-11-29 11:59:00 25 4
gpt4 key购买 nike

当我将我的应用程序提交到 AppStore 时,出现此错误:

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 中,我添加:

<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>

错误仍然存​​在。

谢谢你的帮助

最佳答案

您不遵守不同键的格式。

<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>

https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html

关于ios - 将应用程序提交到应用程序商店错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37831666/

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