# appstore_request_expedited_review

> 请 Apple 加急处理一个正在等待审核或审核中的提交。

Source: https://air.build/cn/docs/mcp-tools/appstore_request_expedited_review/

请 Apple 加急处理一个正在等待 App 审核或审核中的提交，适用于严重错误修复或有时效的活动。Apple 很少批准。

每次提交只发送一次请求：对同一次提交再次调用，会返回第一次请求的结果，不会发送任何内容。无法确认 Apple 的回答时（`state: "unknown"`），不要自行再次发送；先和对方确认。

这个工具通过团队拥有者在 AirBuild 中的 Apple 登录工作（见 [关联你的 Apple 开发者账户](https://air.build/cn/docs/app-store/connect-apple-developer-account/)）。团队的任何成员都可以调用；当拥有者的登录已失效且只有拥有者能续期时，调用会以下面的句子失败，直到拥有者重新登录。

| 只读 | 破坏性 | 幂等 |
| --- | --- | --- |
| 否 | 否 | 是 |

## 输入

| 输入 | 类型 | 必填 | 默认值 | 作用 |
| --- | --- | --- | --- | --- |
| `teamId` | 字符串（UUID） | yes | — | 团队，来自 [list_teams](https://air.build/cn/docs/mcp-tools/list_teams/)。 |
| `projectId` | 字符串（UUID） | 与 `appId` 二选一 | — | 这个 App 所属的项目，来自 [list_projects](https://air.build/cn/docs/mcp-tools/list_projects/)：这是指定 App 的常用方式。App 是 App Store Connect 上 bundle ID 与该项目构建的 bundle ID 相同的那个。两者都发送时，使用 `projectId`。 |
| `appId` | string | 与 `projectId` 二选一 | — | 来自 [appstore_list_apps](https://air.build/cn/docs/mcp-tools/appstore_list_apps/) 的 App Store Connect App ID，用于没有项目构建的 App。 |
| `appleTeamId` | 字符串（UUID） | no | 所有已连接的 Apple 团队 | 团队的某个 Apple 团队，来自 [appstore_list_apple_teams](https://air.build/cn/docs/mcp-tools/appstore_list_apple_teams/)。配合 `appId` 时，只在这个 Apple 团队中查找该 App。配合 `projectId` 时不需要：由项目的 App 决定。 |
| `platform` | 字符串：`IOS`、`MAC_OS`、`TV_OS`、`VISION_OS` | no | `IOS` | 哪个平台的 App Store 版本。 |
| `submissionId` | string | no | 最新一个等待审核或审核中的提交 | 该提交，来自 [appstore_review](https://air.build/cn/docs/mcp-tools/appstore_review/)。 |

每个工具对输入所做的检查见 [服务器与登录](https://air.build/cn/docs/mcp-tools/server/#errors)。

## 结果

一个 JSON 对象，同时以文本和 `structuredContent` 返回。

| 字段 | 说明 |
| --- | --- |
| `requestId` | AirBuild 给该请求的 ID |
| `state` | `confirmed`（Apple 确认了请求）或 `unknown`（无法确认 Apple 的回答） |
| `version` | 正在审核的版本，或 null |
| `note` | “Apple confirmed the request; it does not mean the app passed review.” 或 “Apple's answer was not confirmed. Do not send it again on your own — check with the person.” |

```json
{
  "requestId": "00000000-0000-0000-0000-000000000000",
  "state": "confirmed",
  "version": "1.2.0",
  "note": "Apple confirmed the request; it does not mean the app passed review."
}
```

## 错误

每个错误都以工具错误（`isError: true`）返回。_斜体_ 文字代表句中的具体值。所有工具都可能返回的错误见 [服务器与登录](https://air.build/cn/docs/mcp-tools/server/#errors)。

| 消息 | 何时出现 | 怎么办 |
| --- | --- | --- |
| No submission is waiting for or in review. | 没有处于 `WAITING_FOR_REVIEW` 或 `IN_REVIEW` 的提交，或 `submissionId` 不是这样的提交 | 先提交，或用 appstore_review 查看 |
| Choose a submission that has already been sent to App Review. | 该提交已不在等待审核或审核中 | 用 appstore_review 查看 |
| This app is not available for expedited review in the selected Apple team. | Apple 的加急审核表单中没有提供该 App | 在 App Store Connect 中申请 |
| Renew this Apple team's membership before requesting expedited review. | Apple Developer Program 会员资格已过期 | 由账户持有人在 Apple 续订 |
| This Apple team is not available for expedited review. | Apple 的表单中没有提供这个 Apple 团队 | 在 App Store Connect 中申请 |
| Connect this Apple team before requesting expedited review. | 这个 Apple 团队在 AirBuild 中没有 Apple 团队 ID | 请团队拥有者重新连接它 |
| Apple could not open expedited review. Try again later. | Apple 的表单没有打开；没有发送任何内容 | 稍后再试 |
| Apple changed the expedited review form. Open Apple Developer to continue. | Apple 的表单变了；没有发送任何内容 | 在 Apple 开发者网站上申请 |
| Sign in to Apple again to request expedited review. | 团队拥有者的 Apple 登录已过期 | 请团队拥有者在 AirBuild 中重新登录 |
| The Team owner's Apple sign-in has lapsed and only they can renew it: ask them to open AirBuild and sign in to Apple again, then try once more. | 团队拥有者在 AirBuild 中的 Apple 登录已过期，没有拥有者参与 AirBuild 无法续期 | 告诉团队拥有者，请对方在 AirBuild 中重新登录（见 [关联你的 Apple 开发者账户](https://air.build/cn/docs/app-store/connect-apple-developer-account/)）。在此之前重试会得到同样的回答 |
| Another Apple account operation is already in progress. | 同一个 Apple 账户上正在进行另一个 App Store 操作 | 稍后再试；拥有者不需要重新登录 |
| Apple has locked this Apple Account for security reasons. Unlock it at account.apple.com by signing in with the Apple ID and password, then sign in again. | Apple 锁定了团队拥有者的 Apple 账户 | 只有团队拥有者能在 account.apple.com 解锁，然后在 AirBuild 中重新登录 |
| 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/cn/docs/mcp-tools/send_message/)），或用 `appId` 指定 App |
| 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 团队中没有 App 的 bundle ID 与项目相同，或没有连接任何 Apple 团队 | 用 [appstore_create_app](https://air.build/cn/docs/mcp-tools/appstore_create_app/) 创建 App，或用 `appId` 指定另一个 App |
| No connected Apple team of this Team has that app. See appstore_list_apps. | `appId` 不是任何已连接 Apple 团队（或 `appleTeamId`）中的 App | 从 [appstore_list_apps](https://air.build/cn/docs/mcp-tools/appstore_list_apps/) 获取 ID |
| platform must be IOS, MAC_OS, TV_OS or VISION_OS. | `platform` 是其他值 | 发送这四个值之一 |
| App Store Connect: _Apple's sentence_ | Apple 拒绝了请求。后面最多附上 Apple 自己的五句话，Apple 指明相关字段时会在括号中注明。App Store Connect 中有待接受的 Apple 协议时，也会这样被拒绝 | 按 Apple 的说明处理。协议由 Apple Developer 账户的账户持有人在 App Store Connect 中接受（商务 › 协议） |
| App Store Connect answered _status_. Try again in a moment. | Apple 拒绝了，但没有说明原因 | 稍后再试 |

## 示例

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