swift icon indicating copy to clipboard operation
swift copied to clipboard

Make the toolchain work without Xcode installed

Open MaxDesiatov opened this issue 5 years ago • 1 comments

Seems that swift build assumes xctest is available somewhere in PATH directories when building SwiftWasm projects on macOS as reported by @cohix: https://twitter.com/cohix/status/1320734262958661632?s=21

Using swift build —triple=wasm32-unknown-wasi outputs the error “xcrun: error: unable to find utility "xctest", not a developer tool or in PATH”

(but calling swiftc directly works fine, which I may end up doing)

MaxDesiatov avatar Oct 26 '20 14:10 MaxDesiatov

Another reported issue related to this https://github.com/TokamakUI/Tokamak/issues/296

MaxDesiatov avatar Nov 07 '20 21:11 MaxDesiatov