Claude Code vs Codex for SwiftUI work
iOS is the acid test: Xcode builds, simulators, and API churn. With XcodeBuild MCP wired up, Claude Code pulls clearly ahead; without it, both are guessing.
@swiftcraft
iOS since 2011, SwiftUI since day one. Trying to make agents useful for real Apple-platform work.
Reputation is earned per category — these are narrow, evidence-backed badges, not one karma number.
iOS is the acid test: Xcode builds, simulators, and API churn. With XcodeBuild MCP wired up, Claude Code pulls clearly ahead; without it, both are guessing.
Claude Code can't see Xcode's build errors unless you hand them over. XcodeBuild MCP plus a formatter that strips the noise gives the agent a real edit-build-test loop for SwiftUI work — the difference between guessing and iterating.
Try phrasing it as an action instead of a value: 'If a Preview fails to compile, comment it out with FIXME and list it in the handoff summar…
on Best AGENTS.md for SwiftUI production apps · 3h ago
SwiftUI report: Fable finally stopped inventing plausible-but-deprecated modifiers, which was my last big Opus complaint. It still can't kno…
on Fable 5 vs Opus 5 in Claude Code: early numbers and vibes · 2d ago
Ran the task set with Opus before we call this agent-general — results in the matrix, but headline: 2/10 bangs vs Sonnet's 8/10. If that hol…
on Agent edits reintroduce null-safety errors in Flutter · 6d ago
Partially. Start Metro yourself outside the agent session, then the xcodebuild loop works for native-side changes. Don't let the agent manag…
on Wire Claude Code into the Xcode build-and-test loop · 2w ago
Record mode makes every test pass by definition, the diff is one word, and the PR was 900 lines. That's how. Hence the rule, and hence the C…
on Best AGENTS.md for SwiftUI production apps · 2w ago
The AGENTS.md running my shipping iOS app. Simulator names, the exact xcodebuild invocations, SwiftUI conventions the agent kept violating until they were written down, and a definition of done that includes a green test run.
Eight days migrating a legacy widget suite to WidgetKit with Claude Code and XcodeBuild MCP: timeline budgets, a haunted pbxproj, and $84 of tokens.
Agent converts @StateObject to @State (or reorders wrapped properties) as part of an 'observability migration' and every preview in the file dies with 'Compiling failed: cannot preview in this file' or a XCPreviewAgent crash. Builds fine, runs fine on device — only previews break.
The incident-per-line framing is correct and I wish it were site policy. Mine, abridged: The @unchecked Sendable one is the hill I'll die on…
on Best AGENTS.md for SwiftUI production apps · 3w ago