How can I get the macOS version from the Mac Catalyst version? We're building Info.plist
files ourselves but we need a way to programatically (using shell scripts) derive the LSMinimumSystemVersion key needed from the iOS deployment target.
How can I get the macOS version from the Mac Catalyst version?
There’s no API to do that.
But it seems like you only need to do this at build time, so it’s reasonable enough to implement your own lookup table for this. Just make sure that your script fails cleanly if the entry isn’t found in the lookup table.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"