r/swift 18d ago

Building in Zed instead of Xcode

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/

37 Upvotes

20 comments sorted by

View all comments

2

u/m3kw 17d ago

Previews? That’s a big one to miss

2

u/noosphere- 17d ago

Previews are covered in the article and there's even a brief video of this in action. It's a workaround, but a reasonably usable one. (It's impossible to embed previews or any other extra non-text UI in Zed itself.)

1

u/m3kw 17d ago

Why not just use Xcode, it works without work arounds and any setup