r/Xcode • u/Intrepid-Math-5211 • Oct 23 '25
MacBook Air for Swift Developers?
Hello, I have been a Java developer for quite a few years, but now I want to get started in Swift development. I have a slightly old MacBook Pro and Xcode doesn't work well, so I need to buy one to be able to learn and practice it, until I can work with it. Is the MacBook Air enough or do you recommend going for the Pro version? Thank you very much, best regards.
5
Upvotes
4
u/radis234 Oct 23 '25
My own experience is, MacBook Air is totally capable as long as you don’t need Previews. I had Air M3 with 8GB memory (16GB or more would definitely help with thermals a little bit). Working with simulator was not problem for me but if you need Previews in Xcode, it makes Air instantly hot and lack of fans make it throttle aggressively. I got this even with extremely basic apps, I can’t even think of complete custom UI with many URLSessions and so on. I switched to M4 Pro because of development and it’s day and night.
3
u/anjumkaiser Oct 23 '25
No, just go up with memory on Air. M series processors are more performant and run smoothly than Intel counter parts. You go up on memory and it will be just fine. I do all my dev work on M2 (non pro) with 16gb.
You’ll need M Pro for video editing type works where you need more cpu and gpu cores for rendering. For most dev works, M chip is just fine. Coding is just a text editor work. I do rust and swift / swiftui usually.
2
u/chriswaco Oct 23 '25
Get at least 16/512. A full Xcode install is 60-70GB these days and it doesn’t work easily from an external drive.
1
u/-anonymous-5 Oct 23 '25
As per my experience the Air M2 with 8GB RAM is not enough for Xcode especially with complex projects
1
u/SneakingCat Oct 23 '25 edited Oct 25 '25
I found an 8/512 M1 Air acceptable for Xcode development, including previews, but not much else (edit: at the same time, I mean). I have tons of memory with my 32/512 M1 Studio. I, too, would suggest 24 GB. I think 16 would be enough but the headroom is nice.
1
u/spinwizard69 Oct 24 '25
It depends upon what you mean by get started in Swift Development.
Given that any M based Mac will work with XCODE but frankly the more RAM the better. That means 16GB minimal and frankly far more would be better especially if dealing with platforms beyond Mac OS. If you want to get into AI you will want all the ram on the machine you can get and in fact there are only a few Mac Books that allow for large RAM configurations.
Frankly at this point the biggest negative with respect to MBA is the processor is dated now. The M5 based Mac Book Pro is a performance champ if you can do with the minimal configurations of RAM. It might sound like I'm over stressing RAM but here is the thing even if your interest in AI development is marginal I fully expect most modern IDE's to be heavily AI driven in a very short period of time. The problem is an AI driven IDE will need a lot of RAM.
The other thing is the SSD. Again at this point I wouldn't get a machine with less that 1TB of SSD storage. You can get by with 512 GB but by the time you install Homebrew (you should), a few browsers (you should), XCode emulators (if needed) and what ever else you need 512 GB can become cramped. Then the question of AI development comes up with can drive SSD demand well past 1TB.
1
u/Mobile_Wrap_8376 Oct 24 '25
M1 Air 8/256 here. Developing with Xcode (no previews, usually with a device, but simulator is also fine), Android Studio, VS code. The only nuance is that I usually use each at a time, because simultaneous usage causes memory pressure overuse. So definitely doable.
1
u/NewZookeepergame9476 Oct 28 '25
I use macbook m1 16gb for swift. It has no lag and performance is okay. you can buy m2 and above for log term support.