After updating OS version on my iPhone to iOS 16, I got message in Xcode telling that the version install on the physical device is unsupported, hence I cannot launch the app on that device :(
After updating OS version on my iPhone to iOS 16, I got message in Xcode telling that the version install on the physical device is unsupported, hence I cannot launch the app on that device :(
The solution is pretty straightforward - what I had to do is:
If you cannot launch properly a simulator from the previous versions, or it doesn't exist after updating Xcode, then, in the opened Xcode do next:
Hope that works for you as well)
If you are using older xCode then Xcode14.0 (i have Xcode13.2.1) then follow below steps:
Download the device support file from: https://github.com/filsv/iOSDeviceSupport
Unzip it and put it the folder to path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Now you need to hit and try the bellow actions(it depends some devs are lucky enough to run it on first try, not like me :) ) to run the App:
1: Quit Xcode, clean and build.
2: Add device component, this process will work automatically when you connect your device via cable, but in case it fails you need to restart your mac once.
3: From iPhone turn on Developer mode "Setting > privacy & security" and restart iPhone one's
Last one for who are facing "iphone-is-busy-preparing-debugger-support-for-iphone" -->
Disconnect device, Go to Xcode> devices and Simulator> , click on Plus(+) button on bottom left corner. complete the steps by clicking Next and complete the device setup process.