July 2, 2020

How Big Sur Version Number Could Break Code

Howard Oakley, on eclecticlight.co:

[…] Big Sur is either 10.16.0 or 11.0.0, depending on where you look. If your conditional code has only been checking for minor version numbers, then it would see Catalina as 15, but Big Sur could be either 16 or 0 depending on how Apple numbers it. If the major version has indeed incremented for the first time in the last 20 years or so, and Big Sur turns out to be 11.0.0, then anything which assumes that this minor version number will be greater than 15 will break.

Something to consider if your hacks start actions weird on the new macOS.


Previous post
Tidbits for 2020 Week 26 HighTop: quick file access from MenuBar of local folders, Google Drive, or Dropbox. CloudSkew: online diagram editor. Not bad. Mark Two Pocket
Next post
Shift (Silo #2) by Hugh Howey β˜…β˜…β˜…β˜…β˜… Amazing sequel. Didn’t know what to expect, which made the surprise even more enjoyable. It’s a continuation of the original story is