跳到正文
cccskills
免费在 GitHub 公开

expo-dev-client

Build development clients for Expo apps that use custom native code. Covers local and cloud builds, device installation, TestFlight distribution, and connecting installed clients to a local development server.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Build and distribute Expo development clients locally or via TestFlight

查看安装方法

适用场景

  • Test custom native modules on physical devices
  • Distribute an iOS development build through TestFlight
  • Build iOS or Android development clients locally
  • Connect an installed client to a development server

包含的文件(1)

  • SKILL.md3.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Use EAS Build to create development clients for testing native code changes on physical devices. Use this for creating custom Expo Go clients for testing branches of your app.

Important: When Development Clients Are Needed

Only create development clients when your app requires custom native code. Most apps work fine in Expo Go.

You need a dev client ONLY when using:

  • Local Expo modules (custom native code)
  • Apple targets (widgets, app clips, extensions)
  • Third-party native modules not in Expo Go

Try Expo Go first with npx expo start. If everything works, you don't need a dev client.

EAS Configuration

Ensure eas.json has a development profile:

{
  "cli": {
    "version": ">= 16.0.1",
    "appVersionSource": "remote"
  },
  "build": {
    "production": {
      "autoIncrement": true
    },
    "development": {
      "autoIncrement": true,
      "developmentClient": true
    }
  },
  "submit": {
    "production": {},
    "development": {}
  }
}

Key settings:

  • developmentClient: true - Bundles expo-dev-client for development builds
  • autoIncrement: true - Automatically increments build numbers
  • appVersionSource: "remote" - Uses EAS as the source of truth for version numbers

Building for TestFlight

Build iOS dev client and submit to TestFlight in one command:

eas build -p ios --profile development --submit

This will:

  1. Build the development client in the cloud
  2. Automatically submit to App Store Connect
  3. Send you an email when the build is ready in TestFlight

After receiving the TestFlight email:

  1. Download the build from TestFlight on your device
  2. Launch the app to see the expo-dev-client UI
  3. Connect to your local Metro bundler or scan a QR code

Building Locally

Build a development client on your machine:

# iOS (requires Xcode)
eas build -p ios --profile development --local

# Android
eas build -p android --profile development --local

Local builds output:

  • iOS: .ipa file
  • Android: .apk or .aab file

Installing Local Builds

Install iOS build on simulator:

# Find the .app in the .tar.gz output
tar -xzf build-*.tar.gz
xcrun simctl install booted ./path/to/App.app

Install iOS build on device (requires signing):

# Use Xcode Devices window or ideviceinstaller
ideviceinstaller -i build.ipa

Install Android build:

adb install build.apk

Building for Specific Platform

# iOS only
eas build -p ios --profile development

# Android only
eas build -p android --profile development

# Both platforms
eas build --profile development

Checking Build Status

# List recent builds
eas build:list

# View build details
eas build:view

Using the Dev Client

Once installed, the dev client provides:

  • Development server connection - Enter your Metro bundler URL or scan QR
  • Build information - View native build details
  • Launcher UI - Switch between development servers

Connect to local development:

# Start Metro bundler
npx expo start --dev-client

# Scan QR code with dev client or enter URL manually

Troubleshooting

Build fails with signing errors:

eas credentials

Clear build cache:

eas build -p ios --profile development --clear-cache

Check EAS CLI version:

eas --version
eas update

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Guide app automation on iOS, tvOS, macOS, and Android using help matched to the installed agent-device CLI. Tasks include screen inspection, taps, text entry, scrolling, and collecting logs, network information, or performance evidence.

中文简介正在准备中。当前显示英语简介。

  • Navigate apps and verify the resulting screens
  • Automate text entry and scrolling
  • Capture screenshots and inspect interface information
CherryHQ/cherry-studio-app40222026年10月21日 更新

Build app screens with Expo Router using guidance on layout, navigation, native tabs, and animations. It covers route organization and styling patterns, with Expo Go as the starting point for testing.

中文简介正在准备中。当前显示英语简介。

  • Build screens and navigation with Expo Router
  • Organize native tabs and navigation stacks
  • Add link previews and context menus
CherryHQ/cherry-studio-app40222026年10月21日 更新

diagnose

免费

Diagnose bugs, intermittent failures, and performance regressions through structured logging and reproduction. It ranks possible causes with confidence scores, tests competing explanations, and reports whether the evidence proves the cause or leaves the diagnosis incomplete.

中文简介正在准备中。当前显示英语简介。

  • Trace the cause of a reproducible bug
  • Investigate intermittent failures through repeated runs
  • Compare possible causes of browser or device failures
CherryHQ/cherry-studio-app40222026年10月21日 更新

Drive repeated debugging cycles with the required diagnose skill: establish evidence for a cause, choose one focused fix, and rerun the original validation. Reassess after each change until no credible fix remains or further progress requires user input.

中文简介正在准备中。当前显示英语简介。

  • Repeating bug fixes and verification until validation is clean
  • Checking performance changes against original measurements
  • Investigating regressions after each fix
CherryHQ/cherry-studio-app40222026年10月21日 更新

Check published EAS Updates from the command line using crash rates, user counts, and payload size. Compare adoption of the app's bundled version and over-the-air updates, with JSON output for automated health checks.

中文简介正在准备中。当前显示英语简介。

  • Check update health after publishing
  • Compare crash rates with a previous release
  • Compare bundled and over-the-air update adoption
CherryHQ/cherry-studio-app40222026年10月21日 更新

Create and edit EAS workflow YAML files to automate builds and deployment for Expo projects. The skill consults current documentation and validates configuration structure, required parameters, job dependencies, and expressions against the published schema.

中文简介正在准备中。当前显示英语简介。

  • Create an EAS workflow for builds and deployment
  • Edit workflow triggers and job dependencies
  • Validate existing workflow YAML files
CherryHQ/cherry-studio-app40222026年10月21日 更新

查看 CherryHQ 的全部技能

报告此技能的问题