keith / fix-macosx-internal-sdk

`macosx.internal` -> `macosx`
MIT License
14 stars 1 forks source link

Xcode CLI barf #1

Open chadbrewbaker opened 1 year ago

chadbrewbaker commented 1 year ago

Thank you so much for this! I'm trying to get Apple Libc and MUSL playing nice with Zig for compile time vectorized scanf().

I had to go into Xcode preferences and manually reselect the xcode CLI system package version.

Not sure if all can be done is instructive error message, or if there is a shell command to set that option.

https://stackoverflow.com/questions/24445229/why-is-xcodebuild-command-not-found-in-this-build-script

keith commented 1 year ago

xcode-select -s /path/to/xcode sounds like what you want?