swift icon indicating copy to clipboard operation
swift copied to clipboard

Make the toolchain work without Xcode installed

Open MaxDesiatov opened this issue 3 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