Agent Skillsexpo/skills › expo-dev-client

expo-dev-client

GitHub

用于构建和分发 Expo 开发客户端,支持本地或 TestFlight 发布。适用于测试原生代码、自定义模块及远程推送等场景,替代 Expo Go 进行真实环境调试。

plugins/expo/skills/expo-dev-client/SKILL.md expo/skills

触发场景

需要测试本地原生模块或第三方原生库 构建自定义 Expo Go 客户端以测试特定分支 配置 eas.json 开发构建配置文件 通过 EAS Build 创建 iOS/Android 开发包

安装

npx skills add expo/skills --skill expo-dev-client -g -y
更多选项

非标准路径

npx skills add https://github.com/expo/skills/tree/main/plugins/expo/skills/expo-dev-client -g -y

不安装直接使用

npx skills use expo/skills@expo-dev-client

指定 Agent (Claude Code)

npx skills add expo/skills --skill expo-dev-client -a claude-code -g -y

安装 repo 全部 skill

npx skills add expo/skills --all -g -y

预览 repo 内 skill

npx skills add expo/skills --list

SKILL.md

Frontmatter
{
    "name": "expo-dev-client",
    "license": "MIT",
    "version": "1.1.0",
    "description": "Framework (OSS). Build and distribute Expo development clients locally or via TestFlight for internal testing. For production TestFlight releases and store submission, use the eas-app-stores skill."
}

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.

Free locally; cloud builds are paid. expo-dev-client itself is open source and building locally is free. Building or distributing via EAS Build/TestFlight uses your EAS plan's build minutes and needs a paid Apple Developer account for device/TestFlight distribution. See https://expo.dev/pricing.

Important: When Development Clients Are Needed

Development clients are the recommended setup for any real or production app. Expo Go is a playground for learning and quick experiments with the native libraries it bundles; most apps outgrow it and move to a development client. See Expo Go vs. development builds for the full reasoning.

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
  • Config plugins, or testing remote push notifications and App/Universal Links

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

Submitting Feedback

If you encounter errors, misleading or outdated information in this skill, report it so Expo can improve:

npx --yes submit-expo-feedback@latest --category skills --subject "expo-dev-client" "<actionable feedback>"

Only submit when you have something specific and actionable to report. Include as much relevant context as possible. If an AI agent repeatedly failed or the user had to take over an Expo task, load the expo-skill-feedback skill and follow its eval-candidate flow instead of reusing the command above.

版本历史

  • d1c68a2 当前 2026-08-19 21:53
  • 09eb052 2026-07-24 22:01

同 Skill 集合

.claude/skills/expo-skill-eval/SKILL.md
plugins/expo-experiments/skills/expo-migrate-module/SKILL.md
plugins/expo/skills/eas-update-insights/SKILL.md
plugins/expo/skills/eas-workflows/SKILL.md
plugins/expo/skills/expo-app-clip/SKILL.md
plugins/expo/skills/expo-brownfield/SKILL.md
plugins/expo/skills/expo-data-fetching/SKILL.md
plugins/expo/skills/expo-dom/SKILL.md
plugins/expo/skills/expo-examples/SKILL.md
plugins/expo/skills/expo-module/SKILL.md
plugins/expo/skills/expo-native-ui/SKILL.md
plugins/expo/skills/expo-project-structure/SKILL.md
plugins/expo/skills/expo-router/SKILL.md
plugins/expo/skills/expo-tailwind-setup/SKILL.md
plugins/expo/skills/expo-upgrade/SKILL.md
plugins/expo/skills/expo-web-to-native/SKILL.md
plugins/expo/skills/eas-app-stores/SKILL.md
plugins/expo/skills/eas-hosting/SKILL.md
plugins/expo/skills/eas-observe/SKILL.md
plugins/expo/skills/eas-simulator/SKILL.md
plugins/expo/skills/eas-update/SKILL.md
plugins/expo/skills/expo-animation/SKILL.md
plugins/expo/skills/expo-design-system/SKILL.md
plugins/expo/skills/expo-overview/SKILL.md
plugins/expo/skills/expo-skill-feedback/SKILL.md
plugins/expo/skills/expo-ui/SKILL.md

元信息

文件数
0
版本
170589a
Hash
f39d8f58
收录时间
2026-07-24 22:01

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 07:50
浙ICP备14020137号-1 $访客地图$