eas-app-stores

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

App Store Deployment

应用商店部署

EAS service - costs apply. This skill uses Expo Application Services (EAS), a paid product with free-tier limits.
eas build
and
eas submit
consume your plan's build minutes, and store submission requires paid Apple Developer and Google Play accounts. Review https://expo.dev/pricing before running cloud commands.
This skill covers building and releasing Expo apps to the iOS App Store, Google Play Store, and TestFlight using EAS (Expo Application Services). For deploying an Expo website or API routes to EAS Hosting, use the
eas-hosting
skill.
EAS服务——需付费。 本技能使用Expo Application Services(EAS),这是一款带有免费层级限制的付费产品。
eas build
eas submit
会消耗您套餐的构建时长,且商店提交需要付费的Apple Developer和Google Play账号。在运行云端命令前,请查看https://expo.dev/pricing。
本技能涵盖使用EAS(Expo Application Services)将Expo应用构建并发布至iOS App Store、Google Play Store和TestFlight的内容。若要将Expo网站或API路由部署至EAS Hosting,请使用
eas-hosting
技能。

References

参考资料

Consult these resources as needed:
  • ./references/workflows.md -- CI/CD workflows for automated store releases and PR previews
  • ./references/testflight.md -- Submitting iOS builds to TestFlight for beta testing
  • ./references/app-store-metadata.md -- Managing App Store metadata and ASO optimization
  • ./references/play-store.md -- Submitting Android builds to Google Play Store
  • ./references/ios-app-store.md -- iOS App Store submission and review process
按需查阅以下资源:
  • ./references/workflows.md -- 用于自动化商店发布和PR预览的CI/CD工作流
  • ./references/testflight.md -- 将iOS构建提交至TestFlight进行Beta测试
  • ./references/app-store-metadata.md -- 管理应用商店元数据和ASO优化
  • ./references/play-store.md -- 将Android构建提交至Google Play Store
  • ./references/ios-app-store.md -- iOS App Store提交与审核流程

Quick Start

快速开始

Install EAS CLI

安装EAS CLI

bash
npm install -g eas-cli
eas login
bash
npm install -g eas-cli
eas login

Initialize EAS

初始化EAS

bash
npx eas-cli@latest init
This creates
eas.json
with build profiles.
bash
npx eas-cli@latest init
此命令会创建带有构建配置文件的
eas.json

Build Commands

构建命令

Production Builds

生产构建

bash
undefined
bash
undefined

iOS App Store build

iOS App Store构建

npx eas-cli@latest build -p ios --profile production
npx eas-cli@latest build -p ios --profile production

Android Play Store build

Android Play Store构建

npx eas-cli@latest build -p android --profile production
npx eas-cli@latest build -p android --profile production

Both platforms

双平台

npx eas-cli@latest build --profile production
undefined
npx eas-cli@latest build --profile production
undefined

Submit to Stores

提交至商店

bash
undefined
bash
undefined

iOS: Build and submit to App Store Connect

iOS:构建并提交至App Store Connect

npx eas-cli@latest build -p ios --profile production --submit
npx eas-cli@latest build -p ios --profile production --submit

Android: Build and submit to Play Store

Android:构建并提交至Play Store

npx eas-cli@latest build -p android --profile production --submit
npx eas-cli@latest build -p android --profile production --submit

Shortcut for iOS TestFlight

iOS TestFlight快捷命令

npx testflight
undefined
npx testflight
undefined

Web & API Route Hosting

网页与API路由托管

Deploying an Expo website or Expo Router API routes to EAS Hosting (
npx expo export -p web
then
eas deploy
) is covered by the
eas-hosting
skill. This skill focuses on native app store releases.
将Expo网站或Expo Router API路由部署至EAS Hosting(
npx expo export -p web
后执行
eas deploy
)的内容由
eas-hosting
技能覆盖。本技能专注于原生应用商店发布。

EAS Configuration

EAS配置

Standard
eas.json
for production deployments:
json
{
  "cli": {
    "version": ">= 16.0.1",
    "appVersionSource": "remote"
  },
  "build": {
    "production": {
      "autoIncrement": true,
      "ios": {
        "resourceClass": "m-medium"
      }
    },
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    }
  },
  "submit": {
    "production": {
      "ios": {
        "appleId": "your@email.com",
        "ascAppId": "1234567890"
      },
      "android": {
        "serviceAccountKeyPath": "./google-service-account.json",
        "track": "internal"
      }
    }
  }
}
用于生产部署的标准
eas.json
json
{
  "cli": {
    "version": ">= 16.0.1",
    "appVersionSource": "remote"
  },
  "build": {
    "production": {
      "autoIncrement": true,
      "ios": {
        "resourceClass": "m-medium"
      }
    },
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    }
  },
  "submit": {
    "production": {
      "ios": {
        "appleId": "your@email.com",
        "ascAppId": "1234567890"
      },
      "android": {
        "serviceAccountKeyPath": "./google-service-account.json",
        "track": "internal"
      }
    }
  }
}

Platform-Specific Guides

平台专属指南

iOS

iOS

  • Use
    npx testflight
    for quick TestFlight submissions
  • Configure Apple credentials via
    eas credentials
  • See ./references/testflight.md for credential setup
  • See ./references/ios-app-store.md for App Store submission
  • 使用
    npx testflight
    快速提交至TestFlight
  • 通过
    eas credentials
    配置Apple凭证
  • 查看./references/testflight.md了解凭证设置
  • 查看./references/ios-app-store.md了解App Store提交流程

Android

Android

  • Set up Google Play Console service account
  • Configure tracks: internal → closed → open → production
  • See ./references/play-store.md for detailed setup
  • 设置Google Play Console服务账号
  • 配置发布渠道:internal → closed → open → production
  • 查看./references/play-store.md了解详细设置

Automated Releases

自动化发布

EAS Workflows automate the build → submit → update pipeline for CI/CD. See ./references/workflows.md for store-release examples. To author or validate workflow YAML, use the
eas-workflows
skill - it works from the live workflow schema.
EAS Workflows可自动化构建→提交→更新的流水线,用于CI/CD。查看./references/workflows.md获取商店发布示例。若要编写或验证工作流YAML,请使用
eas-workflows
技能——它基于实时工作流架构运行。

Version Management

版本管理

EAS manages version numbers automatically with
appVersionSource: "remote"
:
bash
undefined
EAS通过
appVersionSource: "remote"
自动管理版本号:
bash
undefined

Check current versions

查看当前版本

eas build:version:get
eas build:version:get

Manually set version

手动设置版本

eas build:version:set -p ios --build-number 42
undefined
eas build:version:set -p ios --build-number 42
undefined

Monitoring

监控

bash
undefined
bash
undefined

List recent builds

列出最近的构建

eas build:list
eas build:list

Check build status

检查构建状态

eas build:view
eas build:view

View submission status

查看提交状态

eas submit:list
undefined
eas submit:list
undefined