[swift-users] "swift build" throws <unknown>:0: error: no such file or directory: 'build'

Daniel Dunbar daniel_dunbar at apple.com
Sat Dec 5 16:09:02 CST 2015


Sounds like you don't have the Swift package's usr/bin in your path, and are using an old `swift` without this support. See full instructions at:
  https://swift.org/download/#apple-platforms

 - Daniel

> On Dec 5, 2015, at 2:06 PM, Joy Mailer via swift-users <swift-users at swift.org> wrote:
> 
> Followed the instructions on this page to set up a Package:
> https://swift.org/getting-started/#using-the-build-system <https://swift.org/getting-started/#using-the-build-system>
> 
> When I run "swift build", I get the error:
> <unknown>:0: error: no such file or directory: 'build'
> 
> I'm able to build stand alone files with "swiftc myprogram.swift"
> 
> JJ
>  _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151205/0d7a2d41/attachment.html>


More information about the swift-users mailing list