NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

[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?

1      

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.

1      

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.

1      

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?

1      

Hacking with Swift is sponsored by MadMachine

SPONSORED Want to explore your Swift skill outside of the Apple world? Join the MadMachine community and start to program microcontrollers in Swift.

Get it now

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.