boxen / our-boxen

Copy me for your team.
https://github.com/boxen/our-boxen/
MIT License
2.58k stars 883 forks source link

Only check for Xcode CL 5.1 until MacOS 10.9 #781

Closed mbartmann closed 6 years ago

mbartmann commented 8 years ago

The MacOS 10.10 the command line tools check, used in script/bootstrap, isn't working anymore.

10.9:

pkgutil --pkg-info=com.apple.pkg.CLTools_Executables

>= 10.10

xcode-select -p

If we run this test on 10.10. and higher we get a error message like this:

No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.

Since Xcode 5.1 isn't available on MacOS 10.10 and we don't have to set the ARCHFLAGS, I added a check for the OS version to get rid of the error.

jacobbednarz commented 8 years ago

I hit this during the upgrade to 10.11 - Looks to work from a fresh install :+1: