-
Notifications
You must be signed in to change notification settings - Fork 45
Add SDKROOT when proxying on macOS based on xcrun information #316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci test macOS |
@swift-ci test macOS |
@swift-ci test macOS |
What happens if the user doesn't have |
In this patch, the command will fail to run, and then the SDKROOT environment variable will remain nil (unset), so I expect that the behaviour will be the same as it was before. Swiftly and the swift toolchain will generally require at least the command line tools, with the macOS SDK to be installed or else nothing Swift related will work. With the CLT installed, the xcrun should be available, and then this fix picks that up. |
Opened as #322 - if the CLT are required, Swiftly should install them if they're not available |
…ang#316) * Strip newlines from xcrun output
Add SDKROOT when proxying on macOS based on xcrun information (#316) * Strip newlines from xcrun output
Fixes #312