I am using a MacBook Pro 13-inch 2020 (i5, 8GB RAM, 256GB SSD) and using Xcode and Simulator to build my first app. However, when I run the Simulator, my MacBook freezes, and I can't do anything other than performing a hard restart (my project is very simple because I'm just learning Swift and SwiftUI). Has anyone encountered a similar issue, and how did you resolve it?
I've been using Xcode from version 13 up to the current version (14.3.1), and this issue continues to happen. Could it be that my MacBook is too old to build Swift projects?