Skip to content
Development
Command

/ios-log

Stream and analyze logs from a USB-connected iOS device running Zedra.

From plugin
zedra
2508 skills8 commands
$ npx -y skills add deltaqdev/zedra --agent claude-code

Command definition

ios-log.md

Stream and analyze logs from a USB-connected iOS device running Zedra.

Run the script

./scripts/ios-log.sh tail [--filter <pattern>] [--select-device] [--simulator]

Physical devices stream via `idevicesyslog` over USB (no sudo required); `--simulator` streams a booted simulator via `simctl` instead.

  • `--filter <pattern>` — extra grep pattern on top of the default Zedra filter
  • `--select-device` — ignore saved device pref and re-prompt
  • `--simulator` — target a booted simulator instead of a USB device

**Device preference** is one machine-global target (`/tmp/zedra-ios-device`, shared across checkouts, shared with `/ios-dev`, `devtool.sh`, `ios-log.sh daemon`). The script handles selection automatically — read the pref file, prompt if missing, save choice.

For background capture queryable by time range, see `./scripts/ios-log.sh daemon`/`query`/`wait`.

Log format

Rust logs via `IosLogger` (NSLog):

Mar  4 17:42:55 Zedra(Zedra.debug.dylib)[PID] <Notice>: [I zedra::module] message

Level prefix: `[I`=Info `[W`=Warn `[E`=Error `[D`=Debug `[T`=Trace

Crash analysis

Fetch crash report from device:

xcrun devicectl device copy from --device <UDID> \
  "/var/mobile/Library/Logs/CrashReporter/" /tmp/ios-crashes/
# or:
/opt/homebrew/bin/idevicecrashreport -e /tmp/ios-crashes/

Early startup crashes (before NSLog is set up) — capture stderr directly:

xcrun devicectl device process launch --console --device <UDID> dev.zedra.app

Screenshot

/opt/homebrew/bin/idevicescreenshot /tmp/zedra-screen.png
Read more
@tanlethanh
Ships withzedra

An experimental remote code editor on mobile with GPU-accelerated rendering powered by Zed's GPUI, P2P tunnel over QUIC/UDP by Iroh.

Stars on GitHub

Momentum

stars in total
250
Star history of tanlethanh/zedra on GitHub, a chart by star-history.com

Other commands on zedra.

android-build

android-build

Command

Build the Rust libraries and install the APK to the connected Android device. Does NOT launch the app or monitor logs.

@tanlethanh@tanlethanhInstall Command
devtool

devtool

Command

Drive the Zedra Android UI from the agent via the in-app GPUI devtool HTTP server.

@tanlethanh@tanlethanhInstall Command
ios-dev

ios-dev

Command

Build, install, launch, and monitor the iOS app on a connected device.

@tanlethanh@tanlethanhInstall Command
perf-debug

perf-debug

Command

Capture and analyze performance diagnostics from the running Android app.

@tanlethanh@tanlethanhInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command