I tried to run my app on my device in Xcode and I got this error -
This iPhone 8 Plus ... is running iOS 11.4.1 (15G77), which may not be supported by this version of Xcode
I have macOS 10.12.6 and Xcode 9.1 and Xcode 9.2 but I get the error on both versions.
How can I still run the app on my device, should I downgrade the IOS or there is another way ?
Creating an app with Xcode 11 has a little bit of a hidden issue, it does not allow you to run the app on iOS 12 or lower out of the box. There are a few changes that need to be made in order to get your app to work on the older versions of iOS.
Downloading and updating Xcode The current release of Xcode is available as a free download from the Mac App Store. The Mac App Store will notify you when an update is available or you can have macOS update automatically as it becomes available.
Xcode 12.4 includes SDKs for iOS 14.4, iPadOS 14.4, tvOS 14.3, watchOS 7.2, and macOS Big Sur 11.1. The Xcode 12.4 release supports on-device debugging for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 12.4 requires a Mac running macOS 10.15. 4 or later.
You can download device support files if you don't want to change your Xcode right now from here
And then put at a location.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
But ideally, Xcode update should be done so that you will be on latest track.
You have to use at least Xcode 9.4 for iOS 11.4.1 devices.
Download and install the latest Xcode to work with iOS 11.4 device.
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