xcodereleases / data

The data generator that powers xcodereleases.com
MIT License
20 stars 7 forks source link

Find minimum deployment information #4

Open xcodereleases opened 6 years ago

phatblat commented 6 years ago

This info is cataloged on wikipedia. Based on this SO post, it sounds like you could find it automatically.

However, I'm not convinced that post is quite correct since the versions I'm getting are lower than what's cataloged.

Xcode 8.3.3

$ otool -l /Applications/Xcode-8.3.3.app/Contents/MacOS/Xcode | grep -A 3 LC_VERSION_MIN_MACOSX
      cmd LC_VERSION_MIN_MACOSX
  cmdsize 16
  version 10.11
      sdk 10.12

Xcode 9.2

$ otool -l /Applications/Xcode-9.2.app/Contents/MacOS/Xcode | grep -A 3 LC_VERSION_MIN_MACOSX
      cmd LC_VERSION_MIN_MACOSX
  cmdsize 16
  version 10.12.1
      sdk 10.13

Xcode 9.3

$ otool -l /Applications/Xcode-9.3.app/Contents/MacOS/Xcode | grep -A 3 LC_VERSION_MIN_MACOSX
      cmd LC_VERSION_MIN_MACOSX
  cmdsize 16
  version 10.12.1
      sdk 10.13