App Store Connect Error ITMS-90058: This bundle is invalid

App Store Connect rejects the build with the following error:

Please correct the following issues and upload a new binary to App Store Connect. ITMS-90058: This bundle is invalid - The value for key CFBundleVersion [iphoneos] in the Info.plist file must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion

But we double-checked at the app level; in all places the CFBundleVersion and versions is mentioned in the correct format.

Even though we tried to upload via Xcode and Transporter, both show success. but the build is not reflecting in TestFlight. Receive the above error message via mail.

data: {
  "attributes": {
    "cfBundleShortVersionString": "3.25.9",
    "cfBundleVersion": "25",
    "p

Validated with the delivery log, but the delivery log also shows correct versioning only.

It's a good idea to confirm details with the real Info.plist file inside the bundle. If you open up the file at /Path/To/YourApp.xcarchve/Products/Applications/YourApp.app/Info.plist, what do you see? If that looks ok, then keep navigating inside your built app at that path, also checking the Info.plist files for all of the frameworks and embedded app extensions or watchOS apps as well.

— Ed Ford,  DTS Engineer

In my case, the DTPlatformName key and value (iphoneos) are missing in one of the framework Info.plist files.

Thanks for sharing that @Ramprasathselvam. That key is automatically generated by Xcode during the build, so for it to be missing is interesting. Is the framework one that you are building as part of your app, or is it coming from a vendor?

— Ed Ford,  DTS Engineer

App Store Connect Error ITMS-90058: This bundle is invalid
 
 
Q