Agent Skills › software-mansion/argent › argent-ios-device-setup

argent-ios-device-setup

GitHub

指导配置实体 iPhone 进行自动化测试,涵盖连接、开发者模式开启、首次运行构建签名及故障排查。

packages/skills/skills/argent-ios-device-setup/SKILL.md software-mansion/argent

触发场景

用户请求设置物理 iPhone 设备 iOS 自动化测试中涉及真机环境初始化

安装

npx skills add software-mansion/argent --skill argent-ios-device-setup -g -y
更多选项

非标准路径

npx skills add https://github.com/software-mansion/argent/tree/main/packages/skills/skills/argent-ios-device-setup -g -y

不安装直接使用

npx skills use software-mansion/argent@argent-ios-device-setup

指定 Agent (Claude Code)

npx skills add software-mansion/argent --skill argent-ios-device-setup -a claude-code -g -y

安装 repo 全部 skill

npx skills add software-mansion/argent --all -g -y

预览 repo 内 skill

npx skills add software-mansion/argent --list

SKILL.md

Frontmatter
{
    "name": "argent-ios-device-setup",
    "description": "Set up a cabled physical iPhone for argent. Use when a physical iPhone is involved (a list-devices iOS entry with kind \"device\") and ONLY then; never for a simulator."
}

Physical iPhone setup

Read this only for a physical iPhone. Simulators use argent-ios-simulator-setup.

First run

  1. Cable the phone, unlock it, keep the screen awake, and turn on Developer Mode (Settings > Privacy & Security > Developer Mode). list-devices must show it connected.
  2. launch-app only registers the app. The first describe, gesture or screenshot builds, signs and starts the on-device runner: minutes cold, tens of seconds from cache or after a tool-server restart. Build cap 15 min, runner ready 120 s.
  3. On the first install the phone asks to trust the developer (Settings > General > VPN & Device Management), and an Argent Runner app appears on the home screen. Tell the user it is argent's automation runner and must stay installed.

Signing and failures

Signing needs no configuration: the first call on a phone names the team it picked; ARGENT_IOS_TEAM_ID in the tool-server environment overrides it. Errors name their fix (cable, lock, trust, signing, a stuck runner): apply it and retry the same call. A failed build quotes xcodebuild's own error: lines.

Then read argent-ios-device-interact.

版本历史

  • b965c94 当前 2026-11-07 15:13
  • 617db8d 2026-11-02 18:47

    更新 Runner 应用名称为 Argent Runner 并添加图标,修正文档描述以匹配新命名。

  • b6576ef 2026-09-09 02:10

同 Skill 集合

packages/skills/skills/argent-android-emulator-setup/SKILL.md
packages/skills/skills/argent-create-e2e/SKILL.md
packages/skills/skills/argent-create-flow/SKILL.md
packages/skills/skills/argent-device-interact/SKILL.md
packages/skills/skills/argent-ios-device-interact/SKILL.md
packages/skills/skills/argent-ios-simulator-setup/SKILL.md
packages/skills/skills/argent-lens/SKILL.md
packages/skills/skills/argent-metro-debugger/SKILL.md
packages/skills/skills/argent-native-profiler/SKILL.md
packages/skills/skills/argent-react-native-app-workflow/SKILL.md
packages/skills/skills/argent-react-native-optimization/SKILL.md
packages/skills/skills/argent-react-native-profiler/SKILL.md
packages/skills/skills/argent-screen-recording/SKILL.md
packages/skills/skills/argent-screenshot-diff/SKILL.md
packages/skills/skills/argent-test-ui-flow/SKILL.md
packages/skills/skills/argent-tv-interact/SKILL.md
packages/skills/skills/argent-qa-e2e/SKILL.md
packages/skills/skills/argent-qa-flows/SKILL.md
packages/skills/skills/argent-settings-permissions/SKILL.md

元信息

文件数
0
版本
b965c94
Hash
76039010
收录时间
2026-09-09 02:10

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-10 09:25
浙ICP备14020137号-1