cordova-ios 8.0.0: Support minimum iOS 15 #566
Replies: 2 comments 9 replies
-
|
We could look at bumping the minimum iOS version to 15 in Cordova iOS 9, but I'm generally not a fan of bumping it unless we're actually requiring APIs that aren't available in the previously supported version. Xcode might not let you run old simulators, but you can still build and deploy to older devices. The only reason that I begrudgingly bumped the minimum to iOS 13 for Cordova iOS 8 was because the changes to the WKURLScheme handling weren't feasible on older versions, and we were getting flooded with (incorrect) bug reports about an Xcode warning. There are a few reasons I feel this way:
If there's a good technical reason or new API that justifies bumping the minimum version, put an argument together. But I don't find "We get to remove some if statements" and "Apple doesn't care about old versions" to be particularly compelling. |
Beta Was this translation helpful? Give feedback.
-
|
I believe the deployment target for Cordova-iOS 8.0 should remain at iOS 13.0. As @dpogue suggested, we can consider increasing the minimum deployment target again in Cordova-iOS 9.0. The previous major release, Cordova-iOS 7.x, targeted iOS 11.0, and jumping directly to iOS 15.0 feels too aggressive. Such a change would drop support for four major iOS versions in one step, which is a significant gap. Incrementally increasing the minimum version is a more practical approach. IMO We also need to consider that some apps are distributed in-house to older devices that may be locked to a specific iOS version. While it's difficult to determine how many businesses use Cordova to build in-house apps or what OS versions those devices run, our goal should be to support as many reasonable scenarios as possible. If our decision is based solely on API usage, then iOS 13.0 remains the most appropriate minimum target for this release. Even though certain APIs under the WKWebView umbrella may require a higher target, we do not currently use those specific APIs. Basing our deployment target on the APIs that Cordova actually implements is the most logical and sustainable strategy. This perspective applies specifically to Cordova's iOS core framework. If a developer chooses to use third-party libraries—such as Google Firebase or Google Maps—that require a higher iOS version, it is their responsibility to increase their app's deployment target accordingly. Alternatively, they can remove those libraries if they need to support older devices. Regarding market share, I believe our general goal has been to support at least 98% of active devices. However, since Apple does not publicly share detailed distribution data, we make the best decision we can based on available information. We shouldn't bump our minimum deployment target just to align with a third-party library that isn't part of our core dependencies. Third-party libraries don't set their deployment target based on other unrelated libraries. They typically determine it based on the APIs they use directly or their own dependency tree. They might raise their minimum version for practical testing and tooling reasons, for example, if they no longer have access to testing devices or development environments compatible with older versions of Xcode. But that is based on choice... For instance, GitHub Actions only provides the last three macOS images, and not all Xcode versions can be installed on those runners. Even the oldest supported Xcode version doesn't include support for iOS 13.0 anymore (I recall). But this is where the concept of "soft support", as @breautek suggested, could come into play. One additional thing I wanted to point out is that some of Apple's own frameworks still set the deployment target as 11.0. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would raise the minimum iOS version for cordova-ios 8.0.0 from version 13.0 to version 15.0.
Here are the reasons:
Why minimum iOS 15?
Still 10 years of device support
We still support devices released in 2015. The minimum iPhone would be iPhone 6s released on September 2015, or iPhone SE - 1. generation - released in 2016. For iPadOS, this would be iPad Air 2 (2014), or iPad 5. Generation (2017).
iOS 13 is upgradable to iOS 15
Every device (iPhone/iPad) which supports iOS/iPad OS 13, also supports iOS/iPad OS 15 (see https://iosref.com/ios). There is no device with max iOS/iPad OS 13 or 14.
iOS 13/14 get no security updates
iOS 13 stopped receiving security updates on September 2020 and iOS 14 on October 2021 because Apple won’t backport such fixes since the devices could get the security updates by updating to iOS 15 instead. The current version of iOS 15 is 15.8.5, which was released on September 15, 2025.
No Simulators available for older OSs
In the recent XCode 26 version you can minimum install an iOS 15 simulator. The minimum XCode version since April 24, 2025 supported by Apple for uploading new apps is XCode 16 using an SDK for iOS 18. This XCode also supports minimum an iOS 15 simulator. According ChatGPT, you can't test an App with it on a iOS 13 device.
Remove code for older OSs
We can remove Code for older OSs and must not support them any more.
What do you think?
Regards,
Manuel
Beta Was this translation helpful? Give feedback.
All reactions