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.
- Download the privacy manifest from this commit.
- Expand the
MarketingCloudSDK.xcframeworkfolder and find folders for two architectures,ios-arm64_armv7_armv7sandios-arm64_i386_x86_64-simulator. - Within each architecture folder, expand the
MarketingCloudSDK.frameworkfolder and copy thePrivacyInfo.xcprivacyfile. - In your SDK folder, paste the
PrivacyInfo.xcprivacyfile you copied for each architecture into the corresponding architecture folder. - 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.