Argent Ios Device Setup

by software-mansioncb0f538ad083No licenseListed Oct 8, 2026Updated Oct 8, 2026

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.

Instructions onlySoftware Development
AI-generated overview

Guides first-time setup of a cabled physical iPhone for the argent automation runner.

What it does
This skill walks through preparing a cabled, unlocked physical iPhone for argent: enabling Developer Mode, confirming the device shows as connected, and understanding that the first describe, gesture, or screenshot call builds, signs, and starts an on-device runner. It explains trusting the developer on first install, the ArgentRunner app that must stay installed, and how signing picks a team with an ARGENT_IOS_TEAM_ID override. It also lists common cable, lock, trust, profile, certificate, and xcodebuild failures with their fixes and log locations.
When to use it
Use it when a physical iPhone is involved, specifically when list-devices shows an iOS entry with kind "device". It is not for simulators, which use the separate simulator setup skill.
Requirements
Requires a cabled physical iPhone with Developer Mode enabled and the argent tooling (list-devices, launch-app, describe, gesture, screenshot, stop-simulator-server). Signing uses the tool-server environment variable ARGENT_IOS_TEAM_ID optionally, and troubleshooting may need the macOS security command and access to ~/.argent/ios-device-runner/logs. No scripts are shipped; instructions only.

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 ArgentRunner 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 phone call of a tool-server process carries a note naming the team picked and the ARGENT_IOS_TEAM_ID override (tool-server environment; a change forces a cold rebuild). Cable, lock, trust, expired-profile and missing-certificate errors name their fix: apply it, retry the same call. Also: errSecInternalComponent: run security set-key-partition-list -S apple-tool:,apple:,codesign: -s ~/Library/Keychains/login.keychain-db (asks the user's login password), retry. team has no devices: keep the phone cabled, retry. Bundle id registration failed: free-team app-id cap, wait days or sign under a paid team. Any other xcodebuild failure prints raw error: lines: read ~/.argent/ios-device-runner/logs/runner-<udid8>.log. RUNNER_WEDGED: stop-simulator-server for the udid, retry.

Then read argent-ios-device-interact.

Source and attribution

Source:software-mansion/argentinpackages/skills/skills/argent-ios-device-setupat commitcb0f538

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

Argent Ios Device Setup Agent Skill | SourceWeft