Privacy Manifest Support for Older iOS SDK Versions

Apple requires all third-party frameworks to include a privacy manifest. Version 8.1.2 and later of the SDK meet this requirement. These versions of the SDK include a signed framework and a privacy manifest file, and requires a deployment target of iOS 12 or later.

If your app uses version 7.6.0–8.1.1 of the MobilePush iOS SDK, you can still include a privacy manifest in your implementation. However, this solution works only if you manually add the SDKs to your app as opposed to using CocoaPods or Swift Package Manager.

  1. Download the privacy manifest from this commit.
  2. Expand the MarketingCloudSDK.xcframework folder and find folders for two architectures, ios-arm64_armv7_armv7s and ios-arm64_i386_x86_64-simulator.
  3. Within each architecture folder, expand the MarketingCloudSDK.framework folder and copy the PrivacyInfo.xcprivacy file.
  4. In your SDK folder, paste the PrivacyInfo.xcprivacy file you copied for each architecture into the corresponding architecture folder.
  5. Include the updated framework in your project.

Versions 8.1.0 and 8.1.1 of the SDK for iOS are code-signed. When you modify the signed SDK, Apple validation fails because of a signature mismatch error. To prevent failed validations, delete the _CodeSignature folder from the MarketingCloudSDK.framework folder, add the SDK to your project, and mark it as Embed & Sign. This step ensures that the application owner re-signs the SDK, preventing the signature mismatch error.