Hello, unfortunately none of the solution work for me. But using this command after a fresh installation fixed the problem.
xcrun simctl runtime add "~/Downloads/iOS_18_Simulator_Runtime.dmg"
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: