<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 25, 2016, at 7:54 AM, Ryan Baxter via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">I recently installed a Swift Development snapshot of the package manager on my system and added <span style="color:rgb(41,41,41);font-family:'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif" class="">/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 '</span><font color="#292929" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" class="">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?</font></div></div></div></blockquote><br class=""></div><div>OS X puts forwarding stubs for various developer tools into /usr/bin that launch the corresponding tools from the active Xcode or Command Line Tools installation. IIRC you're supposed to use xcode-select, or change the toolchain within Xcode itself, instead of putting the toolchain directly in your path. You can then use `xcrun swift` to run swift with the correct environment set up.</div><div><br class=""></div><div>-Joe</div><br class=""></body></html>