I am currently working on iOS. My problem is that I set the Xcode to be updated automatically, so the Xcode was recently updated to 11. And the iOS version became 13. I need
You'll want to go to Xcode Preferences and then open Components tab. There you can download iOS simulators you need (probably iOS 12 Simulator to start with).