DocsiOS Simulator logs (experimental)
On this page

DocsPlatforms

iOS Simulator logs (experimental)

Read an iOS Simulator app's unified logs in the same workspace as your Android logs.

Experimental:

Simulator capture is tested with fixtures. Real Simulator capture is not verified. It is macOS and Xcode only. Physical iPhone capture is not available.

Before you start

  • macOS with Xcode selected through xcrun, an installed iOS runtime, and a Simulator.
  • A booted Simulator for live capture. TapSift can boot one for you.
  • The app installed on that Simulator.

Steps

1. Find the Simulator's ID:

tapsift targets

Use the exact ios:UDID from the result.

2. Boot it if needed:

tapsift boot --target ios:YOUR-SIMULATOR-UDID

3. List its apps and start capture:

tapsift apps --device ios:YOUR-SIMULATOR-UDID
tapsift --device ios:YOUR-SIMULATOR-UDID --app com.example.app

In the TUI, select a Simulator under Devices (d), then an installed bundle under Apps (a). Selecting an app does not launch it. Use App Actions to start it.

4. Take a snapshot instead:

tapsift dump --device ios:YOUR-SIMULATOR-UDID --app com.example.app --output simulator.log
tapsift query --file simulator.log

Add --save to a query to keep the structured snapshot in history.

What you should see

Logs from the app's main executable, with the same filters, budgets, private files and overwrite protection as Android. A snapshot covers the last five minutes of persisted unified logs. Pass --all to include every Simulator process:

tapsift query --device ios:YOUR-SIMULATOR-UDID --all --max-bytes 4096

The dump is normalized UTC threadtime text plus a .meta.json sidecar that records source=simulator, the UDID, the bundle, the scope and the snapshot window. It is not an Apple .logarchive.

What is captured

  • The scope is the app's main executable path, bound to the Simulator's UDID. It follows ordinary restarts. It deliberately excludes app extensions and system processes, even when they report your app's failure.
  • A failed app lookup never turns into an all-process capture.
  • Refresh after reinstalling the app, because its container path can change. R reconnects the original target and re-resolves the app.
  • The Running view in the app picker shows unknown, because Simulator process activity is not probed. Use All or Favorites.

Limits

  • Unified logs are not stdout. Do not assume every Swift print, extension, XPC process, crash report or signpost appears.
  • Persisted history depends on the OS's retention. Debug and info records visible live may not be stored for a later snapshot. The OS can redact private fields.
  • Timestamps are UTC. Levels map to D (debug), I (info, default, notice), E (error) and F (fault, critical).
  • Normalized records are capped at 64 KiB and flagged truncated. Process or thread IDs above the signed 31-bit range are set to zero and flagged truncated.
  • Text dumps escape newlines and backslashes to keep one event per line. Use saved history when you need the structured event.
  • Snapshots have a 30-second deadline.
  • Permission state in App Actions is always unknown.