UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

[OFF-TOPIC] Why Xcode is too slow?

Forums > macOS

Xcode is taking few minutes to preview or to run the scheme of a basic app. I have been having this issue since I upgraded to BigSur and Xcode 12. Xcode worked fine before that.

I am using Macbook Air 2017. Is it possible to fix this issue? Should I buy a new Macbook?


I'm on a 12" Macbook right now and the previews are also really slow for me so I stopped using them. I still keep the preview methods working though so that when I eventually upgrade they'll all be there, but in theory you can just delete the preview structs.


Xcode itself is heavily CPU intensive, with the macbook air having no active cooling it isn't ideal. I was using a MBP 13" i5 8GB and still it was painfully slow. I was an early adopter of the new M1 mac and the speed has increased significantly.

I would highly recommend buying a new mac but if you can wait Apple will be releasing an even better silicon which is rumored to be called M1X which is going to be even faster.

I can't stress enough how much more motivated I feel working on a faster machine.


in theory you can just delete the preview structs.

I have noticed that previews appear faster on my device (iPhone SE '20) than on the my mac (MBA 2013). Can i just disable the previews on the mac and keeping getting them on the iPhone?


Hacking with Swift is sponsored by Superwall

SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.

Learn More

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.