How to fix XCode device support issue when your device updates to an unsupported iOS version
It’s always frustrating when our devices get automatically updated and we aren’t able to run our app anymore. We usually get presented with this error:
So we go with the lazy solution of running our app on the simulator and release the app without running it on a real device. KIDS, DON’T DO THAT!
Always run your apps on a real device before you release! If it’s possible also run your apps on different physical device types (XR, XS, XS Max, 8, 7 …) because we’re finding that different devices are behaving differently in some ways, especially with date-time localization and formatting.
iOS is becoming the new Android!
So, to fix the device support problem, follow the steps below:
1- head to this very handy Github repository https://github.com/filsv/iPhoneOSDeviceSupport
2- Download the missing DeviceSupport version (For me it was 12.2 (16E5181e))
3- Head to this directory on your machine: /Applications/<YOUR-XCODE-VERSION>/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
4- Paste the new device support version
5- Close and reopen XCode
6- Run the app!
And Voila!
Thanks for checking this article out and don’t forget to clap if you found it useful!