# Apple 隐私清单

> Comply with Apple's privacy requirements by including a privacy manifest file in your iOS, iPadOS, tvOS, and visionOS apps.

要在 App Store 中发布适用于 iOS、iPadOS、tvOS 和 visionOS 平台的应用程序，您必须根据 [Apple 隐私政策](https://www.apple.com/legal/privacy/en-ww/)在应用程序中包含[隐私清单文件](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files)。如需了解如何创建要包含在应用程序中的隐私清单文件，请参阅 [Apple 隐私清单政策要求](https://docs.unity3d.com/Manual/apple-privacy-manifest-policy.html)。

[PrivacyInfo.xcprivacy](#privacyinfoxcprivacy) 文件概述了所需的信息，确保透明度符合用户隐私惯例。此文件列出了由 Unity 应用程序、第三方 SDK、包和插件收集的[数据类型](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests)，以及使用某些[需要声明原因的 API](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api)（Apple 文档）类别的原因。Apple 还要求将某些域声明为[追踪](https://developer.apple.com/app-store/user-privacy-and-data-use/)（Apple 文档）；除非用户同意，否则这些域可能会被屏蔽。

> **Warning:**
>
> **重要**：如果您的隐私清单未声明您或第三方 SDK 使用了需要声明原因的 API，App Store 可能会拒绝您的应用程序。在 Apple 文档中阅读有关[需要声明原因的 API](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api) 的更多信息。

从 1.12.5 版开始提供 Services Core 的隐私清单。

## PrivacyInfo.xcprivacy##privacyinfoxcprivacy

以下代码示例包含 Services Core 的 PrivacyInfo.xcprivacy 清单。此文件也可在 SDK 中找到。

要确定此 SDK 收集的数据及其收集目的，请参考以下键：

* `NSPrivacyCollectedDataType`
* `NSPrivacyCollectedDataTypePurposes`

```xml
<?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>NSPrivacyTrackingDomains</key>
	<array/>
	<key>NSPrivacyCollectedDataTypes</key>
   <array/>
	<key>NSPrivacyAccessedAPITypes</key>
	<array>
		<dict>
			<key>NSPrivacyAccessedAPITypeReasons</key>
			<array>
				<string>CA92.1</string>
			</array>
			<key>NSPrivacyAccessedAPIType</key>
			<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
		</dict>
	</array>
</dict>
</plist>
```
