> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zbdpay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Apple App Store Guidelines

> Instructions for successfully submitting your game to the Apple App Store.

<Warning>
  **It is very important to follow the below guidelines to ensure your game does not run into issues with app reviewers on the Apple App Store.**
</Warning>

# Privacy Policies

Apple announced that starting [Spring 2024](https://developer.apple.com/news/?id=3d8a9yyh), it will require its developers to declare the reasons for using certain APIs (aka Required Reason APIs) that could be misused to collect data about users' devices within privacy manifest files.

**This needs to be done when integrating the ZBD Earn SDK.**

Once your Xcode project has successfully built, follow these steps:

<Steps>
  <Step title="Choose File > New File" />

  <Step title="Scroll down to the Resource section, and select App Privacy File type" />

  <Step title="Click Next" />

  <Step title="Check your app or third-party SDK’s target in the Targets list" />

  <Step title="Click Next" />

  <Step title="Click Create" />
</Steps>

Right click the new `PrivacyInfo` file and select `Open As -> Source Code` then copy and paste the following.

<Note>
  Add or change any values below based on what your game is doing!
</Note>

More information on this Apple policy can be found here: [Apple Developer Documentation](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files).

```xml theme={null}
<?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>
<!-- Privacy manifest file for SDK for iOS -->
<key>NSPrivacyTracking</key>
<false/>
<!-- Privacy manifest file for SDK for iOS -->
<key>NSPrivacyTrackingDomains</key>
<array/>
<!-- Privacy manifest file for SDK for iOS -->
<key>NSPrivacyCollectedDataTypes</key>
<array>
  <dict>
    <!-- The value provided by Apple for 'Device ID' data type -->
    <key>NSPrivacyCollectedDataType</key>
    <string>NSPrivacyCollectedDataTypeDeviceID</string>

    <!-- SDK does not link the 'Device ID' with user's identity --> 
    <key>NSPrivacyCollectedDataTypeLinked</key>
    <false/>
    <!-- SDK does not use 'Device ID' for tracking -->
    <key>NSPrivacyCollectedDataTypeTracking</key>
    <false/>
    <!-- SDK uses 'Device ID' for App Functionality 
         (prevent fraud and implement security measures) -->
    <key>NSPrivacyCollectedDataTypePurposes</key>
    <array>
      <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
    </array>
  </dict>
</array>
<!-- Privacy manifest file for SDK for iOS -->
<key>NSPrivacyAccessedAPITypes</key>
<array>
  <dict>
    <!-- The value provided by Apple for 'File timestamp APIs' -->
    <key>NSPrivacyAccessedAPIType</key>
    <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
    <!-- SDK uses 'File timestamp APIs' to manage persistent cache data -->
    <key>NSPrivacyAccessedAPITypeReasons</key>
    <array>
      <string>C617.1</string>
    </array>
  </dict>
</array>
</dict>
</plist>
```

Your game should now be able to be submitted to the Apple App Store!

If you have any questions, don't hesitate to reach out to your ZBD Customer Success Manager.
