# 找出 App 無法提交的原因

> 請 Agent 執行 App Store 預檢，讀出阻止版本提交的問題，並逐一修正，從建置版本的加密回答到待接受的協議。

Source: https://air.build/tw/docs/app-store/find-out-why-you-cant-submit/

AirBuild 在提交版本前會檢查幾個項目：價格、至少一個商店、要提交的版本，以及已處理完成的建置版本（參閱[提交 App 審查並發布](https://air.build/tw/docs/app-store/submit-for-review/#if-it-isnt-ready)）。**商店頁面** 檢閱器會列出 App 審查還需要的頁面欄位（參閱[在審查前檢查商店頁面還缺什麼](https://air.build/tw/docs/app-store/check-your-store-page-before-review/)）。App Store Connect 還需要的其他項目，例如建置版本的加密回答、年齡分級、審查聯絡人和你的協議，都不在這兩者之內。Agent 可以在你提交前檢查所有這些項目，並告訴你是什麼擋住了提交。

## 要求預檢

在專案的 **資料** 標籤頁上，**進度** 在 **準備版本** 下提供 **請 Agent 執行預檢**。它會向專案的聊天傳送「請預檢版本 _n_。」。也可以自己在聊天中提出，例如：

```text
Why can't I submit version 1.4?
```

1. Agent 用 [`asc validate`](https://air.build/tw/docs/cli/asc-release/#validate) 檢查版本，`asc` 的說明稱它為 App Store 提交的主要就緒檢查；或者用 `asc review doctor`，它會解釋 App 為什麼無法提交。兩者都只會讀取，所以 Agent 不需要先問你。
2. 它會傳送檢查結果，通常是一張報告卡片。標示為 **需要修正** 的結果是提交前要修正的。參閱[閱讀 Agent 傳來的圖表或檢查報告](https://air.build/tw/docs/agents/read-charts-and-checks-from-agents/#read-a-report)。
3. 逐一修正每個阻礙項目（見下文），或者請 Agent 修正它能修正的那些。

`asc validate` 會依序列出修正項目，所以第一項就是下一步要做的。警告不會阻止提交。它們指出的是頁面中的預留位置文字或測試用語之類的問題。要求嚴格檢查（`--strict`）可以把警告也當作阻礙項目。

## 檢查哪些項目

`asc` 的說明列出的檢查包括：

- 建置版本：已附加、已處理完成，並有加密回答。
- 價格、基本價格和商店。
- 主要類別、內容版權和年齡分級。
- 審查資訊（App 審查聯絡人）。
- 每種語言的必填欄位及其長度限制。
- 每種語言的截圖，以及尺寸是否符合。
- 你的訂閱是否已準備好接受審查。

### 要求深度檢查

有些項目 Apple 的公開 API 不會顯示。要求深度檢查（`asc validate --deep`）可以加上這些項目：

```text
Run the deep precheck for version 1.4.
```

它會加上：你的 App 隱私權回答是否已發佈、是否有必要的協議在等待接受，以及你的首批 App 內購買項目或訂閱是否已附加到該版本。App 隱私權、協議和訂閱的檢查透過 AirBuild 中保存的團隊擁有者的 Apple 登入進行。深度檢查從不要求任何人登入。如果該登入已過期，報告會說明哪些項目無法驗證，由擁有者重新登入（參閱[連結你的 Apple 開發者帳號](https://air.build/tw/docs/app-store/connect-apple-developer-account/#sign-in-again)）。

對於每個結果，深度檢查也會說明修正方式：用 `asc` 指令、透過團隊擁有者的 Apple 登入，或者手動修正。它會提供指令或 App Store Connect 連結。

### 不檢查哪些項目

`asc review doctor` 指出，它不檢查 App Store 法規與許可聲明。這些聲明在 App Store Connect 網站上管理。

## 修正檢查發現的問題

| Agent 回報 | 該怎麼做 |
| --- | --- |
| "no build attached to app store version" | 上傳一個帶有該版本號碼的建置版本（參閱[用 TestFlight 分享 Beta 版](https://air.build/tw/docs/app-store/test-with-testflight/#upload-a-new-build)）。從 **App 審查** 標籤頁提交時，AirBuild 會附加帶有該號碼的最新已處理建置版本。 |
| "build processing state is …" | 等待 Apple 處理完建置版本，或者上傳一個新的建置版本。 |
| "build encryption state is not set" | 回答出口合規問題。參閱[回答出口合規問題](https://air.build/tw/docs/app-store/answer-the-export-compliance-question/)。 |
| "app price schedule is missing" | 設定價格。參閱[設定 App 的價格和銷售範圍](https://air.build/tw/docs/app-store/set-price-and-availability/#set-the-price)。 |
| "app availability is missing" 或 "no available territories configured" | 選擇商店。參閱[設定 App 的價格和銷售範圍](https://air.build/tw/docs/app-store/set-price-and-availability/#choose-where-its-sold)。 |
| "primary category is not set" | 在 **商店頁面** 上選擇 **類別**。參閱[準備你的 App Store 頁面](https://air.build/tw/docs/app-store/prepare-your-store-page/#fill-in-the-store-page)。 |
| "age rating declaration is missing" | 回答年齡分級問題。參閱[準備你的 App Store 頁面](https://air.build/tw/docs/app-store/prepare-your-store-page/#set-the-age-rating)。 |
| "app store review details are missing" | 填寫 **App 審查聯絡資訊**。參閱[準備你的 App Store 頁面](https://air.build/tw/docs/app-store/prepare-your-store-page/#app-review-contact)。 |
| "no screenshot sets found" | 加入截圖。參閱[準備你的 App Store 頁面](https://air.build/tw/docs/app-store/prepare-your-store-page/#add-screenshots)。 |
| "what's new is empty" | 填寫 **此版本的新增功能**。參閱[發佈 App 更新](https://air.build/tw/docs/app-store/ship-an-update/#say-whats-new)。 |
| "copyright is required" | 請 Agent 填寫該版本的版權行，例如「2026 Your Company」。 |
| "content rights declaration is not set" | 說明 App 是否使用第三方內容。參閱[聲明 App 中的第三方內容](https://air.build/tw/docs/app-store/declare-third-party-content/)。 |
| "version is in non-editable state …" | 該版本正在 App 審查中、已獲核准或已經發佈。撤回它（參閱[從 App 審查中撤回版本](https://air.build/tw/docs/app-store/withdraw-from-app-review/)），或者開始下一個版本（參閱[發佈 App 更新](https://air.build/tw/docs/app-store/ship-an-update/#start-the-next-version)）。 |
| "A required agreement is pending"（深度檢查） | 你的 Apple 團隊中需要有人接受該協議。參閱[接受 Apple 更新後的協議，讓 Agent 恢復發佈](https://air.build/tw/docs/app-store/accept-apples-new-agreement/)。 |
| "App Privacy answers are not published"（深度檢查） | 發佈這些回答。參閱[填寫 App 隱私權](https://air.build/tw/docs/app-store/fill-in-app-privacy/#save-and-publish)。 |
| 某種語言缺少某個欄位，或超出長度限制 | 在 **商店頁面** 上修正。檢閱器會逐一顯示。參閱[在審查前檢查商店頁面還缺什麼](https://air.build/tw/docs/app-store/check-your-store-page-before-review/)。 |

要把這些工作交給 Agent，在聊天中回覆，例如：

```text
Fix the blockers you can, and tell me what's left for me to do.
```

預檢結果沒有阻礙項目時，提交該版本。參閱[提交 App 審查並發布](https://air.build/tw/docs/app-store/submit-for-review/#submit-a-version)。

## 常見問題

**預檢沒有發現問題，但 Apple 拒絕了提交。**

你提交時，Apple 會執行它自己的檢查。這時 **App 審查** 標籤頁會顯示 **提交失敗** 以及 Apple 提供的原因。請 Agent 查看這個原因。預檢不檢查的項目，例如法規與許可聲明，也可能阻止提交。

**這和商店頁面檢閱器有什麼不同？**

檢閱器在你編輯頁面時逐個欄位、逐種語言地檢查。預檢查看的是 App Store Connect 中的整個版本，包括建置版本、價格、年齡分級，以及在深度檢查中你的協議。

**預檢說無法驗證 App 隱私權。**

Apple 的公開 API 不會顯示你的 App 隱私權回答是否已發佈，所以一般檢查只能提出警告。要求深度檢查，或者查看 **App 資訊** 下的 **隱私權**。參閱[填寫 App 隱私權](https://air.build/tw/docs/app-store/fill-in-app-privacy/)。

**預檢知道我的 App 是否需要 iPad 截圖嗎？**

只有在 Agent 把建置版本的 `.ipa` 交給它（`--ipa`）時才知道。這時，能在 iPad 上執行、但主要語言中沒有 iPad 截圖的建置版本就是阻礙項目。沒有它時，檢查只會註明它無法判斷。

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

它在提交前的檢查會查看建置版本、每種語言的頁面、截圖、App 資訊、年齡分級、內容版權、審查聯絡人和 App 隱私權，並列出阻止提交的問題。參閱 [MCP 伺服器](https://air.build/tw/docs/connect/mcp/)。
