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

标签 ios iphone app-store app-store-connect

当我将我的应用程序提交到 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/

相关文章:

iphone - 更改导航项的背景并添加图像

ios - libjingle iOS : Don't ask for mic permission

iphone - CGAffineTransform问题

iphone - 使用exportAsynchronouslyWithCompletionHandler

ios - 为iOS6/iO7打包UINavigationBar图片资源

android - 阻止应用程序在后台运行

ios - centerXAnchor 和 center.x 的区别

拒绝后的iOS应用程序上传

ios - RMStore 使用什么加密以及如何将使用它的 App 正确上传到 App Store?

ios - iPhone : How to implement android AlertDialog like functionality?