了解如何创建可用于应用商店的项目生产版本。
要将你的应用提交到应用商店,你需要创建生产版本。此构建针对性能和大小进行了优化,并包含应用商店所需的所有资源和配置。
¥To submit your app to the app stores, you'll need to create a production build. This build is optimized for performance and size, and it includes all the necessary assets and configurations for the app stores.
¥Prerequisites
需要付费开发者账户才能将构建提交到应用商店。你将需要以下内容:
¥Paid developer accounts are required to submit builds to the app stores. You will need the following:
Google Play 开发者 成员资格(25 美元一次性费用)
¥A Google Play Developer membership ($25 one-time fee)
苹果开发者计划 成员资格(每年 99 美元)
¥An Apple Developer Program membership ($99 per year)
¥Configure over-the-air updates
无线更新允许你向用户发送关键的错误修复和改进。要进行设置,请运行以下 EAS 命令行接口 命令:
¥Over-the-air updates allow you to send critical bug fixes and improvements to your users. To set it up, run the following EAS CLI command:
-
eas update:configure
¥Create a production build
要创建生产版本,请运行以下 EAS 命令行接口 命令:
¥To create a production build, run the following EAS CLI command:
-
eas build --profile production