leetal / ios-cmake

A CMake toolchain file for iOS/iPadOS, visionOS, macOS, watchOS & tvOS C/C++/Obj-C++ development
BSD 3-Clause "New" or "Revised" License
1.89k stars 448 forks source link

Updated the default min deployment versions #193

Closed leetal closed 10 months ago

leetal commented 10 months ago

Versions: iOS (13.0), watchOS(6.0), tvOS (13.0), macOS (11.0), visionOS (1.0).

Updated all github actions to support newer versions of Xcode.

kambala-decapitator commented 10 months ago

why did you choose 13 as a minimum and not 12?

leetal commented 10 months ago

Good question! The answer is the simple fact that the only devices capable of running max iOS 12 is the iPhone 5s and iPhone 6. On the iPad side the mini 2/3 and 1st gen air. All of these devices accumulate a very small percentage (<1%, statscounter + the apple provided "6% other devices") of the total device usage worldwide. All devices capable of 13 could run up to at least iOS 15 which is much more recent. So the decision was solely based on worldwide usage :)

kambala-decapitator commented 10 months ago

Xcode 15's min deployment target is 12, so I'd use that :)