GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>

Selecting an old simulator

Forums > iOS

Feeling a bit dumb here... I created an iOS app project that I want to run on an iPhone 14 pro with iOS 17 installed. I have a destination defined for this configuration but I cannot get it to appear in the list of destinations (Product -> Destinations). All I get is iPhone 16 and a bunch of the latest iPads.

I have set my target minimum deployment at iOS 17, but I remain limited to iPhone 16. When I manage destinations, I can see all of the destinations I expect to see in the window. that opens. If I open an old project, I also see all the destinations listed. So my dumbness is limited to new projects.

I did check that the Swift language is set to Swift 5, in case that was the problem. I'm using XCode 16.0 (16A242D).

Anyone have any idea what I have missed?

Thanks Steve

   

Ok, that's odd. If I set my target iOS back to 16, then I get all my simulators listed. If I go for iOS 17, then I only get newer devices listed.

At least I have a work around.

1      

Hi Steve,

You can also add other simulators including ones with older versions of iOS. If you select Product -> Destination -> Manage Run Destination you get a window showing devices. Swap the tab on the left to Simulators if you click the + button at the bottom left you then get the option to add any device/iOS.

Thanks,

Steve.

   

Thanks Steve. I added an iPhone 14 that way, but it didnt show up in my available simulators until I dropped the iOS version in my target.

   

Hacking with Swift is sponsored by Essential Developer.

SPONSORED Transform your career with the iOS Lead Essentials. This Black Friday, unlock over 40 hours of expert training, mentorship, and community support to secure your place among the best devs. Click for early access to this limited offer and a free crash course.

Save your spot

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.