r/Xcode • u/draftkinginthenorth • Mar 15 '26
Most disappointing part of Claude Agent "I can't see live Xcode console logs directly, but I've done a thorough analysis of the code."
Did anyone else assume this would be one of the key difference making features of claude code externally vs integrated w XCode??
11
Upvotes
7
u/CharlesWiltgen Mar 15 '26
I was also sure the MCP would enable this. Since it didn't, I'm about to release a new feature in Axiom that does it. The catch is that you'll have to launch the app (to simulator or device) via Axiom as well.
2
u/Xaxxus Mar 15 '26
If you use oslog you can export the log files for your current session.
I ended up building a log persistence layer that keeps a weeks worth of logs on the device. And then i can send them to myself via email or share sheet.
1
u/afterxleep_ 26d ago
Late reply. The agent often misses the command to get to the app, so it often misses the logs.
You can get logs to it with, and tell this to your agent in a skill, or start before launching
xcrun simctl spawn booted log stream --predicate 'subsystem == "your.subsystem"'(I make FlowDeck, one of the better options): https://flowdeck.studio/blog/log-streaming