Flash News

Codex Launches Build iOS Apps Plugin for Real-Time Preview of SwiftUI Apps in Browser

Codex has released the Build iOS Apps plugin, allowing users to view and test complete iOS applications directly within the Codex interface. It supports real-time preview of SwiftUI components, enabling immediate updates after code modifications, creating a closed-loop development experience of reading code, modifying UI, running, and validating.

The plugin works by streaming the real iOS Simulator display to the browser on the right side of Codex via a third-party npm serve-sim, while establishing a bidirectional control channel: browser actions such as clicks, drags, and inputs are converted into touch coordinates and keyboard events for remote interaction control.

The plugin also utilizes iOS Accessibility information to overlay transparent HTML element layers on the browser screen, allowing for selection, recognition, and description of native UI components. SwiftUI Preview supports quick updates to previews through temporary generation of mini-programs and dynamic libraries with hot reloading, allowing for incomplete app reinstallation.

This plugin upgrades Codex from a simple code editor to an iOS development platform integrated with a real simulator environment, significantly enhancing developer efficiency.

Source: Public Information

ABAB AI Insight

Codex has previously integrated code generation and browser operation capabilities, and the Build iOS Apps plugin continues OpenAI's path of evolving AI coding tools into a full-stack development environment. By streaming from a real simulator and bridging Accessibility, it addresses the long-standing pain points of AI interacting with native mobile platforms.

In terms of capital strategy, OpenAI/Cursor is strengthening developer engagement and platform lock-in through such plugins, focusing funding on AI programming tools that can bridge the code-run-debug loop. The strategic goal is to become the mainstream development entry point for native platforms like iOS and Android, challenging the market position of traditional IDEs like Xcode.

This innovation is similar to how early VS Code expanded into a full-featured IDE through its plugin ecosystem, and parallels the current transition of AI tools from text generation to visual, interactive development environments. The AI programming field is currently undergoing a transformation from coding assistance to a complete application building platform.

Essentially, this represents a technological replacement: the separated code editing and simulator running environments in traditional IDEs are being reconstructed into a unified AI window. The significant reduction in context-switching costs due to real-time video streaming, event forwarding, and Accessibility bridging is shifting pricing power from single development tools to integrated AI + real running environment super platforms.

ABAB News · Cognitive Laws

Code is not the endpoint; seeing results in real-time is the closed loop. The best AI development tools always bring the running results to the forefront.
The browser is not a limitation; it is a universal remote control. Whoever first brings real devices into the AI interface will capture the minds of the next generation of developers.
Hot reloading is not just a feature; it is a belief in efficiency. A developer's time always belongs to tools that can minimize waiting.

Source

·ABAB News
·
3 min read
·70d ago
分享: