Verifying the Privacy Manifest was added to your iOS App (XCFramework, Universal Library)

Note

We recommend integrating with CocoaPods or Swift Package Manager in order to automatically add the Privacy Manifest to your app.

  1. Download the Device Date Collector iOS SDK v4.1.10 or later of XCFramework.

  2. Copy the PrivacyInfo.xcprivacy file to the root of your app.

  3. Navigate to App Target > Build Phases > Copy Bundle Resources > Add the XCPrivacy Manifest to this Section.

    privacyInfo.png
  4. Archive your app.

  5. Go to Archives, select the latest archive, then select Generate Privacy Report.

    Generate_Privacy_Report.png
  6. Save the report.

  7. Open the report. The report should match the following attributes.

    Open_Privacy_Report.png

    Table 2. Example of the Privacy Report attributes

    Location

    Tracking

    Linked

    Precise Location

    App functionality

    NO

    NO

    Coarse Location

    App functionality

    NO

    NO

    Identifiers

    NO

    NO

    Device ID

    App functionality

    NO

    NO

    Usage Data

    NO

    NO

    Product Interaction

    App functionality

    NO

    NO

    Diagnostics

    NO

    NO

    Performance Data

    App functionality

    NO

    NO

    Other Data

    NO

    NO

    Other Data Types

    App functionality

    NO

    NO


  8. Within your Xcode project, open the Info.plist file.

  9. Add a new row with this name, NSLocationWhenInUseUsageDescription, then press enter.

    The row changes to Privacy - Location When In Use Usage Description. Verify that it's a string. Verify that the description is We need to use your location in order to provide the best experience.

Note

If you already have a Privacy Manifest in your app, merge the manifest from the iOS SDK with the manifest in your app.

Was this article helpful?
0 out of 0 found this helpful