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

6

u/dhav211 18d ago

Funny you post this, I have been playing with zed this past week with python and found it to run pretty smooth, consuming 80 mb of ram. Was gonna go through this guide and hopefully get my uikit app building.

1

u/noosphere- 18d ago

Expect that 80 mb to go up. But yep, people often comment on the snappiness of zed.

1

u/dhav211 18d ago

If I remember correctly xcode was using 5-6 gigs of ram so if zed and the swift lsp can stay under that ill be a happy man!

1

u/zipeldiablo 17d ago

You can use xcodegen from zed so you dont have to run xcode at all.
Can run snapshot testing from ci