I updated my iPhone to iOS 15.0 yesterday and I wanted to build in Xcode (version 12.5.1). But in Xcode it is showing 'iPhone (unsupported OS version)' and when I try to build (command + R) then I get the error:
Xcode doesn’t support iPhone’s iOS 15.0 (19A346).
Is there a way to use it without downgrading iOS?
The signature generated by a build with XCode 12.4 or lower on a Mac running with Mac OS 10.14 or lower are invalid with iOS 15. Starting in iOS 14.2 beta 2, the system checks for a new, more secure signature format and Apple announced that they will mandate it in future releases.
iOS and iPadOS apps submitted to the App Store must be built with Xcode 13 and the iOS 15 SDK. And watchOS apps submitted to the App Store must be built with Xcode 13 and the watchOS 8 SDK.
Starting April 25, 2022, iOS, iPadOS, and watchOS apps submitted to the App Store must be built with Xcode 13, which includes the SDKs for iOS 15, iPadOS 15, and watchOS 8.
Overview. Xcode 11 is available in the Mac App Store and includes SDKs for iOS 13, macOS Catalina 10.15, watchOS 6, and tvOS 13. Xcode 11 supports development for devices running iOS 13.1. Xcode 11 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later.
So iOS 15.0.1, 15.0.2, etc will be supported in the current Xcode under the umbrella of 15.0, but iOS 15.1 will not be since it is still in beta. Once 15.1 is released there will most likely be a 13.1 Xcode update available as well I can run my app from Xcode to iPhone just fine.
The supported combinations of Xcode versions and iOS versions is documented on the Xcode support page. Any other method of getting files to make this work with older Xcode versions is unsupported. Xcode 12.5 won't run on Catalina but I have an super old Mac from 2012 so this won't be able to upgrade to MacOS 11.0 Big Sur. Any suggestion?
You can add support for iOS 14.5 (and watchOS 7.4) by copying the relevant DeviceSupport folders from Xcode 12.5 to Xcode 12.4. There are also publicly hosted GitHub repositories with these folders, a quick search will turn them up. It is obviously better to extract it from the official source yourself, but I think the archives are signed anyways.
Without updating Xcode, you need to put the relevant device file in the DeviceSupport section and run Xcode again. DeviceSupport files are located here. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Without updating Xcode, you need to put the relevant device file in the DeviceSupport section and run Xcode again. DeviceSupport files are located here.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
https://github.com/filsv/iPhoneOSDeviceSupport
You can download iOS15 devicesupport file from here, then you need to unzip, then you need to put it in DeviceSupport section on your mac.
When you restart Xcode, there should be no problem.
Update for iOS 15.1
For 15.1 devices, You can copy file from 15.0 to the same directory as 15.1. Then you need to open Xcode again, it should be fine.
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