Closed NielsLeenheer closed 3 years ago
@NielsLeenheer Yup, this is a bit of a hack, as there's no official APIs to detect the Simulators, so lot of magic going on, including a hardcoded iOS version for simulators.
You can get iOS versions of the running simulators if you parse the output of xcrun simctl list
.
P.S. You probably know this already @auchenberg - wrote it just in case it would be helpful.
@wojtiku Yup, just haven't hard time to get to it until today 🎊
I've got various versions of iOS open in the simulator: iOS 11.4, 12.1, 13.4 and 14.2. They are all recognised as 14.1.
However, my actual iPhone (wirelessly connected?!!) does show the right iOS version.