Repository navigation
Document simulator debug-logging workflow and first-launch blank screen - #132
Merged
Merged
Conversation
Adds a "Debugging on the simulator" section to CLAUDE.md covering: - Using `os.Logger` with a distinctive subsystem rather than `print`, so `xcrun simctl spawn booted log stream` can capture output. - The terminate → install → launch → cat-log flow for reproducing a single launch from the command line, plus screenshots via `simctl io`. - Caveats about Xcode build+run vs simctl (debugger attachment differs, can hide or surface bugs asymmetrically) and scene-phase transitions starting in `background` on a fresh launch, not `active`. Also adds a "Red herring" note documenting the few-seconds-of-blank-screen behavior seen on fresh builds: diagnostic signature is that no app logs appear during the blank period (i.e. the Swift runtime hasn't reached `@main` yet), so SwiftUI/scene theories are dead ends. Likely iOS first-launch-of-new-binary overhead; real users tapping the icon on Springboard won't trigger it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
mcintyre94
enabled auto-merge
April 19, 2026 22:56
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CLAUDE.mdcoveringos.Loggerusage (notprint, sincesimctl spawn log streamonly captures the unified log), the terminate→install→launch→capture flow, screenshots viasimctl io, and caveats about Xcode-vs-simctl launch differences.@main), so SwiftUI/scene/view-model theories are dead ends. Likely iOS first-launch-of-new-binary overhead; real users tapping from Springboard won't hit it.Test plan
🤖 Generated with Claude Code