Privacy policy of Apple: Add the PrivacyInfo.xcprivacy file to ApsaraVideo MediaBox SDK for protocol authentication

Updated at:
Copy as MD

Background information

According to Apple's privacy policy update for App Store submissions, apps submitted to App Store since March 2024 must include a privacy manifest.

When you submit your app, Xcode generates a privacy report that aggregates the privacy manifest files of all third-party SDKs in your app. This report produces accurate privacy labels. Therefore, SDKs and third-party libraries must include 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

App Privacy Configuration (Dictionary, 4 items)
  Privacy Tracking Enabled: Boolean = NO
  Privacy Nutrition Label Types: Array = (0 items)
  Privacy Tracking Domains: Array = (0 items)
  Privacy Accessed API Types: Array = (4 items)
    Item 0 (Dictionary, 2 items)
      Privacy Accessed API Type: String = File Timestamp
      Privacy Accessed API Reasons: Array = (1 item)
        Item 0: String = C617.1: Inside app or group container, per documentation
    Item 1 (Dictionary, 2 items)
      Privacy Accessed API Type: String = System Boot Time
      Privacy Accessed API Reasons: Array = (1 item)
        Item 0: String = 35F9.1: Measure time on-device, per documentation
    Item 2 (Dictionary, 2 items)
      Privacy Accessed API Type: String = Disk Space
      Privacy Accessed API Reasons: Array = (1 item)
        Item 0: String = E174.1: Write or delete file on-device, per documentation
    Item 3 (Dictionary, 2 items)
      Privacy Accessed API Type: String = User Defaults
      Privacy Accessed API Reasons: Array = (1 item)
        Item 0: String = CA92.1: Access info from same app, per documentation
<?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 integrate the SDK, copy the PrivacyInfo.xcprivacy file from ApsaraVideo MediaBox SDK into the PrivacyInfo.xcprivacy file of your app.

  • Open the PrivacyInfo.xcprivacy file in your Xcode project as source code. Copy the entries from the PrivacyInfo.xcprivacy file provided by Alibaba Cloud into the PrivacyInfo.xcprivacy file of your app to avoid duplicate or misplaced entries.

  • Double-click the PrivacyInfo.xcprivacy file to open it in property list view. Follow the Xcode prompts to add and edit the required items.