BLACK FRIDAY: Save 50% on all my Swift books and bundles! >>

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

1      

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.

   

Save 50% in my WWDC sale.

SAVE 50% All our books and bundles are half price for Black Friday, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

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.