EAS 教程:介绍
介绍使用 Expo 应用服务 (EAS) 构建 Android 和 iOS 应用的教程,其中涵盖构建、更新和提交工作流程。
For the complete documentation index, see llms.txt. Use this file to discover all available pages.
关于本教程
🌐 About this tutorial
本教程将使你熟练掌握 Expo Application Services (EAS) 的核心服务:构建、提交 和 更新。完成本教程后,你将知道如何为个人和团队项目建立专业的移动持续集成 (CI)/持续开发 (CD) 流程。
🌐 This tutorial will give you proficiency with Expo Application Services (EAS) core services: Build, Submit, and Update. When you complete the tutorial, you will know how to set up a professional mobile Continuous Integration (CI)/Continuous Development (CD) pipeline for your individual and team projects.
本教程涵盖以下主题:
🌐 This tutorial covers the following topics:
- 使用 EAS Build 创建并安装开发版本,然后在设备、模拟器或模拟器上运行它。
- 体验使用开发构建而不是 Expo Go 的好处。
- 实现与团队或外部利益相关者共享开发构建的工作流程。
- 自动增加应用构建版本。
- 在一台设备上同时安装不同的应用变体,例如开发版和预览版。
- 利用 EAS 更新在开发阶段快速创建和部署更新。
- 通过与 GitHub 存储库集成来自动化构建过程。
这些主题将为我们提供有效使用 EAS 以及在需要时处理更高级主题所需的基础。
🌐 These topics will give us the foundation needed to use EAS effectively and to approach more advanced topics when needed.
本教程是实践操作型的,设计成大约两小时内可以完成。
🌐 This tutorial is hands-on and designed to be completed in about two hours.
1 requirement
1 requirement
请选择以下选项之一进行操作:
- 继续使用上一个教程中的 Sticker Smash 应用。如果是新用户,请从 GitHub 下载。
- 使用
npx create-expo-app开始一个新项目。 - 使用一个空的 React Native 项目。确保已安装
expo包,你可以自动或手动进行安装。
工具
🌐 Tools
Expo Orbit 可用于在 macOS、Windows 和 Linux 上一键管理和发布构建。
如果你想在本地机器上同时安装和运行构建,可以使用 Android 模拟器或 iOS 模拟器。要进行设置,请参见以下内容:
🌐 If you want to install and run the build locally on your machine simultaneously, you can use Android Emulator or iOS Simulator. To set them up, see the following:
下一步
🌐 Next step
在本地设置好 Expo 项目后,我们已经准备好开始这段旅程。在下一章中,我们来学习如何使用 EAS Build 创建你的第一个构建。
🌐 We're ready for this journey after setting up an Expo project locally. In the next chapter, let's learn how to create your first build with EAS Build.
让我们先配置一个开发版本。