The screen shots are from xcode 26.
You need to close and quit xcode.
Open xcode 16.x from the applications folder.
open the xcode | settings menu.
Click on the locations tab.
In the command line tools, select the xcode 16.x version.
Then go to the components tab.
You should see components for older ios versions.
I would open your project.
Tap on the xcode | about xcode to be sure you are seeing xcode 16.x
Select the target you want and device/simulator you want.
Try building/running your project.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: