The iOS development workflow has always been a context-switching marathon: write code in your editor, build in Xcode, watch the simulator, spot a bug, switch back, repeat. OpenAI just took a swing at collapsing that entire loop into a single tool. The new Build iOS Apps plugin for Codex lets the agent view a live iOS simulator, open SwiftUI previews, and hot-reload edits , all without leaving the Codex interface.

What the plugin actually does

The Build iOS Apps plugin lets Codex view and test your iOS app in the in-app browser, open SwiftUI previews, and hot reload edits without leaving Codex. That might sound incremental, but the implications are significant: Codex can now observe the visual output of its own code changes in real time, creating a genuine write-build-see loop that was previously impossible for an AI agent working on native iOS.

The plugin is built on top of two open-source projects that do the heavy lifting:

  • serve-sim , streams the iOS Simulator's screen to the browser. It spawns a small Swift binary that captures the simulator's framebuffer via simctl io, exposes it as an MJPEG stream plus a WebSocket control channel, and serves a React preview UI on top. No Xcode plugin, no instrumentation in your app required.
  • SnapshotPreviews (by Sentry/EmergeTools) , extracts and renders SwiftUI previews automatically. It discovers types conforming to PreviewProvider by parsing the __swift5_proto Mach-O binary section at runtime, then injects test functions dynamically through the Objective-C runtime , no test code required from the developer.

Under the hood, the plugin wires in XcodeBuildMCP for simulator build, run, and debug workflows, giving Codex a structured interface to Xcode's toolchain rather than raw shell commands.

Alpha Signal

Don't miss what's next in AI

Join 300,000+ engineers and researchers who get the signal, not the noise.

  • Full access to in-depth AI research breakdowns
  • Be the first to know what's trending before it hits mainstream
  • Daily curated papers, repos, and industry moves