I had the same problem and fixed it, but you aren't going to like the answer: I bought a new MacBook Pro.
My old machine was hopeless for Xcode 15 and the iOS 17 simulators. A new macOS hello world app built and ran just fine. It was fast. Any new iOS hello world app would not work on any simulator at all (or occasionally work after more than an hour). It would work on my attached iPhone 11, but that was very slow, too. I never got my larger self-developed iOS apps working anywhere. My old computer is an earlier 2017 iMac with 16 GB memory and a 1 TB disk (500 GB free). While some of the 2017 iMacs are on the Sonoma approved list, mine was not so I was stuck with Ventura. I had tried just about everything including totally reinstalling Xcode and installing Xcode 14 and its older simulators. Nothing I tried could get me back to my workable, but slow, Xcode development environment I had a few months ago.
So, is the problem:
-new Xcode?
-new Simulators?
-old OS?
-Intel processors?
My new MacBook Pro is a 16-inch M3 Pro processor, 18 GB memory and a 512 GB disk (240 GB free). It's the smallest and cheapest 16-inch M3 MacBook Pro. I used Migration Assistant to move my files from the iMac to the MacBook (after doing extensive file clean up). The new machine is fast, flawless, and I like it.
How many years will it be before I have to do it again?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: