[swift-users] swift binary in /usr/bin

Ryan Baxter rbaxter85 at gmail.com
Thu Feb 25 09:54:13 CST 2016


Hi,

I recently installed a Swift Development snapshot of the package manager on
my system and added
/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swift
to my path.  However when I do 'which swift' in my terminal it points to a
binary in /usr/bin.  When I run 'swift build --help' I get '<unknown>:0:
error: no such file or directory: 'build'' so clearly it is not the right
swift binary.  I am not sure where the binary came from in /usr/bin but I
cant delete it because OSX is telling me that it is needed by the operating
system.  Has anyone encountered this before?

-Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160225/e9ddabd1/attachment.html>


More information about the swift-users mailing list