# appstore_check_submission

> 準備中のバージョンを App Review の要件と照らし合わせ、提出を妨げている項目を、それを直すツールとともに一覧にします。

Source: https://air.build/ja/docs/mcp-tools/appstore_check_submission/

準備中のバージョンを App Review の要件と照らし合わせます。対象は、ビルドとその輸出コンプライアンスの回答、すべての言語のストア情報のテキスト、スクリーンショット、App 情報、年齢制限指定、コンテンツの権利、App Review の連絡先、App のプライバシーです。提出を妨げているものをすべて一覧にし、各文でそれを直すツールを示します。何も変更しません。[appstore_submit_for_review](https://air.build/ja/docs/mcp-tools/appstore_submit_for_review/) は、何かを送る前に同じチェックを行います。

| 読み取り専用 | 破壊的 | 冪等 |
| --- | --- | --- |
| はい | いいえ | はい |

## 入力

| 入力 | 型 | 必須 | デフォルト | 内容 |
| --- | --- | --- | --- | --- |
| `teamId` | 文字列（UUID） | yes | — | チーム。[list_teams](https://air.build/ja/docs/mcp-tools/list_teams/) から取得します。 |
| `projectId` | 文字列（UUID） | これか `appId` | — | このアプリのプロジェクト。[list_projects](https://air.build/ja/docs/mcp-tools/list_projects/) から取得します。アプリを指定する通常の方法です。アプリは、プロジェクトがビルドする bundle ID を持つ App Store Connect 上のアプリです。両方を送った場合は `projectId` が使われます。 |
| `appId` | string | これか `projectId` | — | [appstore_list_apps](https://air.build/ja/docs/mcp-tools/appstore_list_apps/) から取得した App Store Connect のアプリ ID。どのプロジェクトもビルドしていないアプリに使います。 |
| `appleTeamId` | 文字列（UUID） | no | 接続済みのすべての Apple チーム | チームの Apple チームの 1 つ。[appstore_list_apple_teams](https://air.build/ja/docs/mcp-tools/appstore_list_apple_teams/) から取得します。`appId` と一緒に使うと、この Apple チームだけでアプリを探します。`projectId` を使う場合は不要です。プロジェクトのアプリで決まります。 |
| `platform` | 文字列：`IOS`、`MAC_OS`、`TV_OS`、`VISION_OS` | no | `IOS` | どのプラットフォームの App Store バージョンか。 |

すべてのツールが入力に対して行うチェックは [サーバーとサインイン](https://air.build/ja/docs/mcp-tools/server/#errors) にあります。

## 結果

JSON オブジェクト。テキストと `structuredContent` の両方で返します。

| フィールド | 内容 |
| --- | --- |
| `ready` | 提出を妨げるものがない場合は true |
| `version` | 準備中のバージョン（フィールドは [appstore_app_status](https://air.build/ja/docs/mcp-tools/appstore_app_status/#result) と同じ）、または null |
| `blocking` | 提出前に直す必要があるもの。1 件につき 1 文 |
| `warnings` | まだ影響があるかもしれないもの。1 件につき 1 文 |

`blocking` に入る可能性のある文は次のとおりです。

| 提出を妨げる項目 | 発生する状況 |
| --- | --- |
| No version is being prepared. Start one with appstore_prepare_version. | 提出するバージョンがない |
| No build is attached to the version. Pick one with appstore_prepare_version (buildNumber or useLatestBuild). | ビルドがない |
| Build _number_ is _state_, not ready. | ビルドの処理が終わっていない |
| The build has no export compliance answer: set it with appstore_distribute_build's usesNonExemptEncryption, or in the app's Info.plist (ITSAppUsesNonExemptEncryption). | 輸出コンプライアンス |
| The version has no listing text in any language. | ストア情報がない |
| _locale_: missing _fields_ (appstore_update_store_listing). | ある言語で、説明、キーワード、サポート URL、または（アップデートの場合）新機能が欠けている |
| _locale_: no 6.9-inch (or 6.5-inch) iPhone screenshots (appstore_upload_screenshots). | iOS、プライマリ言語 |
| _locale_: iPad screenshots need the 13-inch size. | iOS：13 インチサイズのない iPad スクリーンショット |
| _locale_: no screenshots. | ほかのプラットフォーム、プライマリ言語 |
| _locale_: the app has no name. | ある言語に名前がない |
| _locale_: no privacy policy URL (appstore_update_store_listing). | ある言語にプライバシーポリシーの URL がない |
| No primary category (appstore_update_app_info). | カテゴリがない |
| The age rating questionnaire is not finished (_questions_) (appstore_update_app_info). | 年齢制限指定の質問に未回答のものがある |
| Content rights are not declared (appstore_update_app_info contentRights). | コンテンツの権利 |
| App Review needs a contact: first and last name, phone and email (appstore_prepare_version reviewContact). | 審査の連絡先が不完全 |
| A demo account is marked required but its name or password is missing. | デモアカウントが不完全 |
| App Privacy is not answered (appstore_update_privacy). | App のプライバシーの回答がない |
| App Privacy answers are not published (appstore_update_privacy mode applyAndPublish). | App のプライバシーが保存されているが公開されていない |

さらに `warnings` もあります。これは提出を妨げません。

| 警告 | 発生する状況 |
| --- | --- |
| No iPad screenshots: Apple requires 13-inch iPad screenshots when the app runs on iPad. | iOS、iPad のスクリーンショットがない |
| Could not check App Privacy: _sentence_ | App のプライバシーを読み取れなかった。たとえばチームのオーナーの Apple のサインインが切れている場合 |
| Could not confirm the app has a price; a new app needs one set in App Store Connect (Pricing and Availability). | 価格を読み取れなかった |

スクリーンショットはアプリのプライマリ言語でのみチェックします。ほかの言語はそれにフォールバックします。

```json
{
  "ready": false,
  "version": {
    "versionId": "00000000-0000-0000-0000-000000000000",
    "version": "1.2.0",
    "state": "PREPARE_FOR_SUBMISSION",
    "releaseType": "AFTER_APPROVAL",
    "scheduledRelease": null,
    "copyright": "2026 Example Inc.",
    "build": {
      "buildId": "00000000-0000-0000-0000-000000000000",
      "buildNumber": "42"
    },
    "phasedRelease": null,
    "createdAt": "2026-11-18T09:00:00Z"
  },
  "blocking": [
    "en-US: missing keywords, support URL (appstore_update_store_listing).",
    "No primary category (appstore_update_app_info)."
  ],
  "warnings": [
    "No iPad screenshots: Apple requires 13-inch iPad screenshots when the app runs on iPad."
  ]
}
```

## エラー

どれもツールエラー（`isError: true`）として返ります。_斜体_ の語は、文中に入る実際の値を表します。すべてのツールが返す可能性のあるエラーは [サーバーとサインイン](https://air.build/ja/docs/mcp-tools/server/#errors) にあります。

| メッセージ | 発生する状況 | 対処 |
| --- | --- | --- |
| App Store Connect has no app information for this app. | Apple が App 情報を返さなかった | App Store Connect でアプリを確認してください |
| Pass projectId, or appId from appstore_list_apps. | `projectId` も `appId` も送られていない | どちらかを送ってください |
| This Project has not been built for iOS yet, so it has no bundle id to find its app by. Ask the Team's Agent to build it, or pass appId. | プロジェクトが一度も iOS 向けにビルドされていない | プロジェクトのエージェントに iOS ビルドを依頼する（[send_message](https://air.build/ja/docs/mcp-tools/send_message/)）か、`appId` でアプリを指定してください |
| This Project has no app on App Store Connect yet. Create one with appstore_create_app (its bundle id is the Project's), or pass appId. | チームの接続済み Apple チームに、プロジェクトの bundle ID を持つアプリがない、または Apple チームが接続されていない | [appstore_create_app](https://air.build/ja/docs/mcp-tools/appstore_create_app/) でアプリを作成するか、`appId` で別のアプリを指定してください |
| No connected Apple team of this Team has that app. See appstore_list_apps. | `appId` が、接続済みのどの Apple チーム（または `appleTeamId`）のアプリでもない | [appstore_list_apps](https://air.build/ja/docs/mcp-tools/appstore_list_apps/) から ID を取得してください |
| platform must be IOS, MAC_OS, TV_OS or VISION_OS. | `platform` がそれ以外の値 | 4 つのうちのどれかを送ってください |
| App Store Connect: _Apple's sentence_ | Apple がリクエストを拒否した。続けて Apple 自身の文が最大 5 つ示され、Apple が項目を挙げている場合はその項目が角かっこで添えられます。App Store Connect で Apple の契約が同意待ちの場合も、このように拒否されます | Apple の文に従って対処してください。契約は、Apple Developer アカウントの Account Holder が App Store Connect（ビジネス › 契約）で同意します |
| App Store Connect answered _status_. Try again in a moment. | Apple が理由を示さずに拒否した | しばらくしてからもう一度試してください |

## 例

```json
{
  "name": "appstore_check_submission",
  "arguments": {
    "teamId": "00000000-0000-0000-0000-000000000000",
    "projectId": "00000000-0000-0000-0000-000000000000"
  }
}
```
