eas-app-stores
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseApp Store Deployment
应用商店部署
EAS service - costs apply. This skill uses Expo Application Services (EAS), a paid product with free-tier limits.andeas buildconsume 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.eas submit
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 skill.
eas-hostingEAS服务——需付费。 本技能使用Expo Application Services(EAS),这是一款带有免费层级限制的付费产品。和eas build会消耗您套餐的构建时长,且商店提交需要付费的Apple Developer和Google Play账号。在运行云端命令前,请查看https://expo.dev/pricing。eas submit
本技能涵盖使用EAS(Expo Application Services)将Expo应用构建并发布至iOS App Store、Google Play Store和TestFlight的内容。若要将Expo网站或API路由部署至EAS Hosting,请使用技能。
eas-hostingReferences
参考资料
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 loginbash
npm install -g eas-cli
eas loginInitialize EAS
初始化EAS
bash
npx eas-cli@latest initThis creates with build profiles.
eas.jsonbash
npx eas-cli@latest init此命令会创建带有构建配置文件的。
eas.jsonBuild Commands
构建命令
Production Builds
生产构建
bash
undefinedbash
undefinediOS 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
undefinednpx eas-cli@latest build --profile production
undefinedSubmit to Stores
提交至商店
bash
undefinedbash
undefinediOS: 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
undefinednpx testflight
undefinedWeb & API Route Hosting
网页与API路由托管
Deploying an Expo website or Expo Router API routes to EAS Hosting ( then ) is covered by the skill. This skill focuses on native app store releases.
npx expo export -p webeas deployeas-hosting将Expo网站或Expo Router API路由部署至EAS Hosting(后执行)的内容由技能覆盖。本技能专注于原生应用商店发布。
npx expo export -p webeas deployeas-hostingEAS Configuration
EAS配置
Standard for production deployments:
eas.jsonjson
{
"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.jsonjson
{
"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 for quick TestFlight submissions
npx testflight - Configure Apple credentials via
eas credentials - See ./references/testflight.md for credential setup
- See ./references/ios-app-store.md for App Store submission
- 使用快速提交至TestFlight
npx testflight - 通过配置Apple凭证
eas credentials - 查看./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 skill - it works from the live workflow schema.
eas-workflowsEAS Workflows可自动化构建→提交→更新的流水线,用于CI/CD。查看./references/workflows.md获取商店发布示例。若要编写或验证工作流YAML,请使用技能——它基于实时工作流架构运行。
eas-workflowsVersion Management
版本管理
EAS manages version numbers automatically with :
appVersionSource: "remote"bash
undefinedEAS通过自动管理版本号:
appVersionSource: "remote"bash
undefinedCheck current versions
查看当前版本
eas build:version:get
eas build:version:get
Manually set version
手动设置版本
eas build:version:set -p ios --build-number 42
undefinedeas build:version:set -p ios --build-number 42
undefinedMonitoring
监控
bash
undefinedbash
undefinedList recent builds
列出最近的构建
eas build:list
eas build:list
Check build status
检查构建状态
eas build:view
eas build:view
View submission status
查看提交状态
eas submit:list
undefinedeas submit:list
undefined