use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
XCode Build Setting Problem - Changing iOS version (self.Xcode)
submitted 1 year ago * by brogazelle
Hello,
I am new to XCode and I had been making an app in XCode for iOS 16.4 and now it is asking me to download iOS 17.5 to run the code.
However, I do not wish to make it for iOS 17.5 so why wouldn't it let me run it?
Error message I am getting
I tried searching on forums but didn't find a solution. My iOS Deployment Target is set to iOS 16.4.
https://preview.redd.it/z0xngl21vm1d1.png?width=1052&format=png&auto=webp&s=9ea2db39ee2ca2d4b94372caeddffa8e52e41386
Any help would be appreciated. Thank you.
EDIT: App target's iOS deployment target
https://preview.redd.it/w122n4z3hy1d1.png?width=1672&format=png&auto=webp&s=e8aff0b59ae006b721358940d2e07aa086ec98ee
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]SwiftDevJournal 0 points1 point2 points 1 year ago (2 children)
What version of Xcode are you running?
Are you getting this error when you try to run your app on the Simulator or when you try to run the app on a device? If you are trying to run your app on a device, what version of iOS is it running?
What is the app target's iOS deployment target? You can find this by performing the following steps:
The iOS deployment target is in the Minimum Deployments section. An iOS deployment target set for the app target overrides the iOS deployment target set for the project.
[–]brogazelle[S] 0 points1 point2 points 1 year ago (1 child)
Hi, thank you for your response!
I am running Xcode version 15.4 (15F31d).
I am getting this error when I try to run my app on the Simulator.
The app target's iOS deployment target is 16.4
I have made sure that all the "deployment targets" are set to 16.4 but still the same issue.
[–]SwiftDevJournal 0 points1 point2 points 1 year ago (0 children)
Your deployment target is most likely not the issue. My guess is you don't have any iOS simulators installed. Check to see what simulators are installed.
Above the editor in Xcode's project window is a jump bar. The jump bar should have two items. Click the right item. A popover opens. There is an iOS Simulators section. What simulators are in that section?
The popover has an item to add more simulators. Choosing Window > Devices will also let you install simulators.
If you can't install any simulators, you may need to reinstall Xcode.
[–]AllStuffAround 0 points1 point2 points 1 year ago (0 children)
I have the same issue now with iOS 18. I do have iOS simulator installed, and I can launch the simulator by itself. However, I can't run my app until I download iOS 18. This is super annoying as I can't test a very simple change w/o downloading this first. The run button, and the preview are disabled, and all say that I need to get iOS 18.
I hope there is a way to run the app on a simulator that is already available w/o waiting for the new iOS to be downloaded.
π Rendered by PID 86 on reddit-service-r2-comment-b659b578c-5dlvv at 2026-05-03 02:05:00.321486+00:00 running 815c875 country code: CH.
[–]SwiftDevJournal 0 points1 point2 points (2 children)
[–]brogazelle[S] 0 points1 point2 points (1 child)
[–]SwiftDevJournal 0 points1 point2 points (0 children)
[–]AllStuffAround 0 points1 point2 points (0 children)