[A question on Homebrew internals] Why is CLT required on non-latest macOS releases #6675
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Where did you see that? Because it's hard to comment on the reason behind such a broad statement. |
Beta Was this translation helpful? Give feedback.
-
|
This is because Xcode does not ship SDKs for older macOS versions, and you need the SDK to be able to build stuffs from source. Even if you're on the latest macOS, installing some formulae from bottle still requires you to have CLT installed, because those formulae have baked-in references to SDK paths from the CLT. |
Beta Was this translation helpful? Give feedback.
This is because Xcode does not ship SDKs for older macOS versions, and you need the SDK to be able to build stuffs from source.
Even if you're on the latest macOS, installing some formulae from bottle still requires you to have CLT installed, because those formulae have baked-in references to SDK paths from the CLT.