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 🙁
Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
2
Answers
I hadn't have my Xcode updated. This is what I had to do:
In case 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:
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(IOS 16 only)
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.