# 聲明 App 中的第三方內容

> 請 Agent 檢查並設定 App 的內容版權聲明，也就是 App Store 提交所需的、關於第三方內容的「是」或「否」回答。

Source: https://air.build/tw/docs/app-store/declare-third-party-content/

內容版權聲明說明你的 App 是否使用第三方內容。`asc` 的說明表示，App Store 提交需要這項聲明。它是針對整個 App 的一個回答，「是」或「否」，而且會保留到之後的版本。

> [!NOTE]
> AirBuild 沒有用於此項的控制項，它自己在提交前的檢查也不會查看這一項。請在專案的聊天中詢問 Agent。它會使用 `asc apps content-rights`（列在 [asc：App 與 App Store 頁面](https://air.build/tw/docs/cli/asc-apps/#apps) 的 `apps` 下）。

## 確定你的回答

這個回答需要由你提供。Apple 的說明表示，包含、顯示或存取第三方內容的 App，必須擁有該內容所需的全部權利，或者在其提供的每個國家或地區的法律下獲准使用該內容。請參閱 Apple 的 [App and compliance information](https://developer.apple.com/help/app-store-connect/reference/app-information/app-and-compliance-information)。

如果你不確定 App 中顯示了哪些不是你製作的內容，可以請 Agent 檢查專案，例如：

```text
List everything my app shows or loads that we didn't make ourselves.
```

## 檢查

例如這樣問：

```text
Is my app's content rights declaration set?
```

Agent 用 `asc apps content-rights view` 讀取它。回答是以下之一：

| `asc` 顯示 | 意思 |
| --- | --- |
| `DOES_NOT_USE_THIRD_PARTY_CONTENT` | App 已聲明不使用第三方內容。 |
| `USES_THIRD_PARTY_CONTENT` | App 已聲明使用第三方內容。 |
| `unset` | 還沒有任何聲明。提交需要一個回答。 |

## 設定

在聊天中說出你的回答，例如：

```text
My app doesn't use any third-party content. Set the content rights declaration.
```

1. Agent 用 `asc apps content-rights edit` 設定：「否」使用 `--uses-third-party-content=false`，「是」使用 `=true`。
2. 這個指令不需要 `--confirm`，所以 Agent 不必先問你。請在請求中把你的回答說清楚。
3. `asc` 會回報新的值，例如「Content rights declaration set to DOES_NOT_USE_THIRD_PARTY_CONTENT」（內容版權聲明已設為 DOES_NOT_USE_THIRD_PARTY_CONTENT）。

如果之後要變更回答，用另一個回答再請求一次即可。Agent 會執行同一個指令。

聲明設定好後，照常提交版本。請參閱[提交 App 審查並發布](https://air.build/tw/docs/app-store/submit-for-review/#submit-a-version)。

## 常見問題

**第一次提交之前必須回答這一項嗎？**

`asc` 的說明表示，App Store 提交需要這項聲明。在設定之前，Agent 的預先檢查會把「content rights declaration is not set」（未設定內容版權聲明）列為阻礙因素。請參閱[找出 App 無法提交的原因](https://air.build/tw/docs/app-store/find-out-why-you-cant-submit/)。

**每個版本都要重新回答嗎？**

不用。它屬於 App，而不是某個版本。在你變更之前，它會保持不變。

**我透過自己的 AI 助理使用 AirBuild。**

它也可以設定這項聲明，而且它在提交前的檢查會列出缺少的聲明。請參閱 [MCP 伺服器](https://air.build/tw/docs/connect/mcp/)。
