1

I was previously using Marketing Cloud sdk 8.0.9 with MarketingCloud.bundle 8.0.8 which worked fine but my testflight build started crashing with error:

Please add correct version of MarketingCloudSDK.bundle. Added version: 8.0.8, Correct version to be added : 8.0.11.

I updated the bundle to version 8.0.11 and sfmc sdk to 1.0.7 which fixed the issue for fresh install. But the app is still crashing when app is upgraded from a previous version to the latest one with below error:

Please add correct version of MarketingCloudSDK.bundle. Added version: 8.0.11, Correct version to be added : 5.31.0. (5.31.0) is my app version number. Not sure how to fix this.

6
  • 1
    Question: Why would you update the SDK and not copy in the corresponding bundle?
    – Bill Mote
    Feb 14 at 12:43
  • Now SDK version and bundle version are the same: MarketingCloudSDK version: 8.0.11 MarketingCloudSDK.bundle: 8.0.11 SFMSDK: 1.0.7 Feb 14 at 13:15
  • Hi, while uploading the .ipa file to testflight, by any chance is "Manage Version and Build Number" option is selected? This will change the versions of all the contents within the .ipa. Feb 14 at 15:09
  • We use CI/CD so don't upload builds manually to testflight. But i checked the sdk state log. I can see it is 8.0.11. Feb 14 at 15:23
  • The bundle check looks for CFBundleShortVersionString in the MarketingCloudSDK.bundle. It's not obvious to us why that would have your application's version there unless some process edited it. If this doesn't happen locally, my only suggestion would be to audit your CI/CD pipeline to see if there's even a small chance that it could be mutating the bundle in any way. Feb 14 at 15:57

1 Answer 1

3

We were able to verify that a relatively new Xcode setting (manageAppVersionAndBuildNumber) will alter our SDK’s ability to verify the versions of its components. The issue only surfaces when the application is published to the App Store or Testflight, and is not detectable during the build. The team felt that they needed to rollback the version and fix the issue in the next release.

2
  • Thanks @Ethan, Please let us know when the fix is available. we have currently uploaded the build by manually creating the ipa. Feb 16 at 14:22
  • Please update to the latest release (MarketingCloudSDK 8.0.12 & SFMCSDK 1.0.8) Apr 10 at 15:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .