I have recently installed Xcode 14, and it keeps on saying Preparing iPhone for Simulator, and then this shows up. You can see the attached image about the error: