首页指南参考教程

EAS 构建

EAS Build 是一项托管服务,用于为你的 Expo 和 React Native 项目构建应用二进制文件。


EAS Build 是一项托管服务,用于为你的 Expo 和 React Native 项目构建应用二进制文件。

¥EAS Build is a hosted service for building app binaries for your Expo and React Native projects.

它通过提供开箱即用的适用于 Expo 和 React Native 项目的默认值,并为你处理应用签名凭据(如果你愿意),使构建用于分发的应用变得简单且易于自动化。它还使与 内部分配 的团队共享构建比以往任何时候都更加容易(使用临时和/或企业 "universal" 配置),与 EAS Submit 深度集成以进行应用商店提交,并对 expo-updates 库提供一流的支持。

¥It makes building your apps for distribution simple and easy to automate by providing defaults that work well for Expo and React Native projects out of the box, and by handling your app signing credentials for you (if you wish). It also makes sharing builds with your team easier than ever with internal distribution (using ad hoc and/or enterprise "universal" provisioning), deeply integrates with EAS Submit for app store submissions, and has first-class support for the expo-updates library.

它旨在适用于任何原生项目,无论你是否也使用托管工作流程。这是从 npx create-expo-appnpx react-native init 到达应用商店的最快方式。

¥It's designed to work for any native project, whether or not you also use the managed workflow. It's the fastest way to get from npx create-expo-app or npx react-native init to app stores.

开始使用

¥Get started

创建你的第一个版本

iOS 和/或 Android 的启动和运行总共只需几分钟。

与内部测试人员共享你的应用

EAS Build 可以帮助通过单个 URL 共享应用的预览版本。

自动提交

了解如何让该服务获取你成功的构建并自动将它们上传到应用商店。

应用版本管理

自动化版本更新,这样你就不必再考虑它们了。

在本地或你自己的基础设施上运行构建

EAS Build 是一项托管服务,但你也可以在自己的计算机上运行它,例如,以调试或遵守任何公司安全策略。

局限性

EAS Build 是新的并且正在快速发展,因此我们建议熟悉当前的限制。