Background information
According to the update on the privacy policy for app submission to App Store announced by Apple, a privacy manifest must be added to an app that you want to submit to App Store since March, 2024.
When your app is submitted to App Store, you can use Xcode to create a user-friendly privacy report that integrates the privacy manifest files of third-party SDKs used for the app. This helps create privacy labels in an accurate manner. Therefore, SDKs and third-party libraries must contain the PrivacyInfo.xcprivacy file.
Add the PrivacyInfo.xcprivacy file to ApsaraVideo MediaBox SDK
By default, ApsaraVideo MediaBox SDK V6.10.0 or later contains the PrivacyInfo.xcprivacy file.
If you integrate the SDK by using CocoaPods, the PrivacyInfo.xcprivacy file is automatically added to your project. No additional operations are required.
If you manually integrate the SDK, you must copy the PrivacyInfo.xcprivacy file in the source code directory to your project.
PrivacyInfo.xcprivacy file of ApsaraVideo MediaBox SDK
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>E174.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>Manually add the PrivacyInfo.xcprivacy file to your app
If you do not use CocoaPods to automatically integrate the SDK, you can copy the PrivacyInfo.xcprivacy file of ApsaraVideo MediaBox SDK to the PrivacyInfo.xcprivacy file of your app.
Open the PrivacyInfo.xcprivacy file in your Xcode project by using the source code. Copy the entries in the PrivacyInfo.xcprivacy file provided by Alibaba Cloud to the PrivacyInfo.xcprivacy file of your app to prevent duplicate or dislocated data.
Double-click the PrivacyInfo.xcprivacy file in the property lists. Follow the instructions of Xcode to add and edit required items.
