Loading video...

Video Failed to Load

Go Home

Building an iPhone app directly in Codex desktop with iOS simulator

1,201,352 views • 5 months ago •via X (Twitter)

50 Comments

Alex Giuseppe Ispas's profile picture
Alex Giuseppe Ispas5 months ago

How do you add the simulator in codex?

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

Streaming the xpc signal from /Simulator.app to a locally hosted webview

Domenico Di Donna's profile picture
Domenico Di Donna5 months ago

@agispas @grok can you explain the solution and how that could be achieved? Please when introducing concepts and acronyms that are known in the dev space, explain them to non dev (but still tech-vibe-Cody) audience. “Make no Mistake”-cit.

Grok's profile picture
Grok5 months ago

Sure! The demo shows an AI coding tool called Codex (a desktop app that lets you chat with AI—like a super-smart assistant powered by models such as GPT—to build and edit app code in real time). Normally, you'd build an iPhone app using Expo (a free toolkit that turns simple code into full iOS/Android/web apps) and test it in Apple's separate iOS Simulator window on your Mac. The clever part: They stream the Simulator's live screen output straight into Codex using XPC (Apple's secure "talk" system between Mac apps) and display it in a webview (a mini browser window inside Codex). No separate windows—changes you or the AI make to the code instantly update the phone preview right there. It's like having your iPhone live inside your coding app. Super smooth for rapid building!

Mohit's profile picture
Mohit5 months ago

Expo Go literall is a personal app builder for me nowadays, i built my app from my app itself. Codex app server makes it possible to move most of your workload to mobile as well

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

Nice

Jon Kinney's profile picture
Jon Kinney5 months ago

What's the best workflow for building mobile apps on Linux right now? I assume this won't work 👆For Ruby Native, cloud builds handle everything. I know Expo has something similar with EAS Build. Do you know anyone building mobile exclusively on Linux @joemasilotti

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

For strictly compiling `eas build` is world-class. For the entire process, consider (still in beta) which can perform development tasks in a sandbox.

Jon Kinney's profile picture
Jon Kinney5 months ago

Thanks, Evan. I joined the waitlist.

Abhishek Wasnikar's profile picture
Abhishek Wasnikar5 months ago

codex makes ios dev feel like web dev. drag, drop, hot reload everything. no more xcode maze

Constantin 🔥's profile picture
Constantin 🔥5 months ago

Oh man I’ve been waiting for this moment so long

Mike Gannotti's profile picture
Mike Gannotti5 months ago

Wait… does that mean I can then dev and publish from Linux to Apple Store without needing a Mac?

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

Publish in one shot from any computer with: npx testflight (eas build).

Mike Gannotti's profile picture
Mike Gannotti5 months ago

That is flipping sweeeeeet!

Henry Paulino's profile picture
Henry Paulino5 months ago

Trying to do the same in @t3dotcodes

Tech With Matteo's profile picture
Tech With Matteo5 months ago

building directly with the simulator running is such a different experience, you see the thing come to life while you type instead of guessing what it looks like

@bluecow 🐮's profile picture
@bluecow 🐮5 months ago

How do you get the iOS simulator?

Bradley Bernard's profile picture
Bradley Bernard5 months ago

This is the way

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

🫡

Paul's profile picture
Paul5 months ago

I did mine at

JC Castaneda's profile picture
JC Castaneda5 months ago

what's the setup here? i'm working on monorepo setup and one of my apps is in expo, would love to know if you have link for the setup guide?

Vladislav Gorovenko's profile picture
Vladislav Gorovenko5 months ago

Hey, is there anything like that for Claude Code?

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

Sure

Yasin Kavakli's profile picture
Yasin Kavakli5 months ago

Stop teasing Evan, give it to me

Josh Gonsalves's profile picture
Josh Gonsalves5 months ago

Is that part of Codex?!

Vaibhav Sisodiya's profile picture
Vaibhav Sisodiya5 months ago

How man! Please give access to this

Darsh Jain's profile picture
Darsh Jain5 months ago

Codex is the most underrated tool out there.

ImL1s's profile picture
ImL1s5 months ago

The simulator integration is the key unlock here — most AI coding demos stop at generating code files, but having the agent actually launch the app, see the UI, and iterate based on what's rendered closes the loop in a way that's qualitatively different. The debugging latency between code change and visual feedback is what makes iOS dev painful; removing that friction matters more than the code gen itself.

Kiril's profile picture
Kiril5 months ago

that's really cool!

Bilal Bakr's profile picture
Bilal Bakr5 months ago

Would be cool to have smth similar in @cursor_ai

Kol Tregaskes's profile picture
Kol Tregaskes5 months ago

Would love to do this with Android.

🥔🥔🥔's profile picture
🥔🥔🥔5 months ago

what the feck

Carlos Valentin's profile picture
Carlos Valentin5 months ago

Insane, I honestly just run each time lol

Joshua Riley's profile picture
Joshua Riley5 months ago

Woah this is incredible 🤯

Raul's profile picture
Raul5 months ago

Nice! Refuse the acquisition offer

K-AI Lab's profile picture
K-AI Lab5 months ago

こんなことできるんだ。

Kenton Parton's profile picture
Kenton Parton5 months ago

Very cool! Can this be done in Cursor too?

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

Yeah, my tool makes the simulator available inside the browser. If you have a local browser mcp, then you now have an iOS dev environment

Kenton Parton's profile picture
Kenton Parton5 months ago

That’s huge, nice work 💪

Angel 💿🖊️'s profile picture
Angel 💿🖊️5 months ago

How are ya’ll activating the remote browser gosh

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

⌘+shift+B

██████RD's profile picture
██████RD5 months ago

Bro could you make a tutorial on setting this up? 🔥🔥🔥🔥

JesusIsGodAndKing's profile picture
JesusIsGodAndKing5 months ago

Took me a really long time, but I finally got it working!

Abdulmuiz Adeyemo's profile picture
Abdulmuiz Adeyemo5 months ago

Building my iPhone app soon too

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

Nice! Consider using Expo

Abdulmuiz Adeyemo's profile picture
Abdulmuiz Adeyemo5 months ago

👍👍

Ironion's profile picture
Ironion5 months ago

Now I want to build a Codex app on my mobile.🤣

Evan Bacon 🥓's profile picture
Evan Bacon 🥓5 months ago

Go for it!

Wildan's profile picture
Wildan5 months ago

Has to be expo go?

Andreas's profile picture
Andreas5 months ago

I need this

Related Videos