We are getting the below issue while uploading our app to app store although we are are not using CFBundleDocumentTypes in the app and the previous version uploaded successfully last week
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.”
How can we solve this?
XCODE 11.3.1
thanks.
hi can you open your info.plist file as a source and check if your CFBundleDocumentTypes key has the correct format ie
<key>CFBundleDocumentTypes</key>
<array>
<dict>
</dict>
</array>
I guess in your case you are also missing CFBundleTypeName key which is a must ie
<key>CFBundleTypeName</key>
<string>Your App</string>
to get a complete idea of code refer here
After So many hours of research finally made a successful upload to app store.
It seems apple have some changes in the submission of app.
we have the below in the info.plist
which was working normally for the past 10 submission
<key>UTExportedTypeDeclarations</key>
<array>
<string>public.url</string>
<string>public.plain-text</string>
<string>public.image</string>
</array>
After removing it and uploading to store everything worked normally Dont know what is that related to CFBundleDocumentTypes
but that was the reason
Solution: (You are missing some keys & values)
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string></string>
</dict>
</array>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.