My device is running iOS 12.2, but the latest Xcode version available (on the store, and directly from developer.apple, which just pushes me to the store) does not provide the support files for that iOS version, so I cannot build to devices.
Here's the error message from Xcode:
And my Xcode build running on macOS Mojava v.10.14:
Are there any reputable other places to download a more recent Xcode beta from (or just the support files, in Xcode > Contents > Developer > Platforms > iPhoneOS.platform > DeviceSupport), or am I missing something here?
Unfortunately, Xcode 11 doesn't know how to debug apps on iOS 14. But Xcode 12 does! To get breakpoints to work, we have to use Xcode 12 for this step. There are two options to get the debugger running for an app already compiled with Xcode 11.
Download device support files from here -https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip, if your Xcode version doesn't have them. Extract the zip file and copy to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport. Rename 16E266 folder to 16E227. Restart XCode.
As pointed out by @DavidH, this worked for me.
After copying and renaming the folder, if problem persists, restart the Mac.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With