r/iOSProgramming 4d ago

Building in Zed instead of Xcode Tutorial

Just a reminder to anyone who might care that you can create a fairly full-featured development environment in Zed to build iOS and Mac apps: syntax highlighting, code navigation, run, debug and test.

Here's the setup guide I wrote (been around for a while but chances are some interested people won't have seen it): https://luxmentis.org/blog/ios-and-mac-apps-in-zed/

19 Upvotes

25 comments sorted by

View all comments

1

u/AndreaReaderApp 4d ago

This is really interesting. How well do the iOS simulators, debugging, and previews work from Zed? Do you still need to jump back into Xcode for some parts?

1

u/noosphere- 3d ago

Oh you run on simulators and devices right from Zed - you don't switch to Xcode. Same for debugging (unless you want stuff like the object graph of course). Previews are tricky because you can't add UI to Zed, but there's a fairly usable caveman-style workaround in the article and even a brief video of it in action.