Skip to content
cap-go avatar

Ios Android Logs

Guide to viewing, filtering, streaming, and saving Capacitor app logs and crash reports on iOS and Android.

CCM score
71 of 100
skills.sh installs
1.4K
GitHub stars
79
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers simulator, physical device, and emulator log paths, including Console.app, log stream, adb logcat, and crash buffers
  • Explains that Capacitor bridge output and mirrored JS console lines appear on stdout for iOS and under Capacitor tags on Android
  • Provides filtering commands for process, PID, and tag, plus file capture for sharing with log collect and adb bugreport
  • Designed for debugging sessions that need the right log channel before diagnosis, and hands root-cause analysis to other skills

Install

$ npx -y skills add cap-go/capgo-skills --skill ios-android-logs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

iOS and Android Logs for Capacitor Apps

Pick the log channel that actually carries the message you need, filter to the app, capture to a file, hand off to diagnosis.

When to Use

TRIGGER when:

  • User asks how to view, stream, filter, or save device/simulator logs.
  • console.log output or ⚡️ Capacitor lines are missing on iOS/Android.
  • User needs a crash report (.ips, tombstone, ANR) from a device or simulator.
  • Logcat or the unified log is too noisy; user wants only their app or plugin.
  • A log command fails or misbehaves: --level error still shows everything, unable to find utility "devicectl", Error: Unexpected argument 'log', adb: no devices/emulators found.

Do not use:

  • Interpreting the error and fixing the app -> debugging-capacitor.
  • Production crash/ANR reporting (Sentry, Crashlytics, Datadog) -> capacitor-native-observability.
  • AI agent log streaming via MCP servers -> capacitor-mcp.
  • CPU/memory profiling -> capacitor-performance.
  • UIScene lifecycle migration -> capacitor-uiscene-migration.

Where Capacitor Output Goes (the main trap)

Details

Repository
github.com/cap-go/capgo-skills
Categories
Mobile Apps, Debugging
First seen
Jun 3, 2026

Questions

How do I see Capacitor console.log output on an iOS Simulator?

Run xcrun simctl launch --console-pty --terminate-running-process booted with your app's bundle ID to relaunch the app with stdout attached. Capacitor bridge lines and mirrored JS console output show up there, because Console.app and log stream do not show them.

How do I filter Android logcat to only my Capacitor app and its JS console?

Run adb logcat with --pid set to the app's process ID, found with adb shell pidof -s and your app's package name, then filter with adb logcat -s Capacitor:V Capacitor/Console:V. Re-run the PID command after each app restart because the PID changes.

How do I get an iPhone crash report or device log for a Capacitor app?

Use xcrun devicectl device process launch --console with your device ID to capture stdout, or sudo log collect --device-udid with --last 10m to save a unified log archive. The ios-android-logs skill also covers reading crash reports and filtering with process == "App".

Why are my Capacitor console.log lines missing in release builds?

Capacitor mirrors JS console output according to loggingBehavior, which defaults to debug, so Release builds produce no Capacitor logs unless it is set to production. The ios-android-logs skill explains this and where each kind of Capacitor output is written on iOS and Android.

More from cap-go/capgo-skills

All 41

Similar to Ios Android Logs

More Mobile Apps