Xcode 12 beta 6 runs slowly on my iMac

I have a late 2012 iMac running Catalina. I find it really weird that Xcode 12 runs slowly because I can run Xcode 11 fine. It takes forever to build (around 2 minutes), simulate (around 5 minutes), and preview (around 3 minutes) on Xcode 12. Heck, I don’t even bother to toggle the live preview option. But, this wasn’t the case when I still used Xcode 11.

Will Apple be dropping support for older iMacs? How can I make it run faster?

Specs:
i5 3.2 Ghz Quad-Core
8 GB RAM 16MHz DDR3
1 TB storage
GTX 675MX 1 GB
Answered by TurtleLover in 636713022
I have to build and run it. After that, the canvas works fine.
I would suspect the 8GB RAM to be the cause.

Try first to close all other apps to see if it improves.

Can you extend memory to 16 GB (or more) ?
@Claude31, I can, but the nearest authorized Apple service something is too far away. Should I buy a new Mac instead?

Also, Xcode 11 works fine.
Accepted Answer
I have to build and run it. After that, the canvas works fine.
Xcode 12 beta 6 runs slowly on my iMac
 
 
Q