It isn't very clear what you have done or what you are actually doing. The
path "path/to/bin/swift build" doesn't make much sense, it must be an
example trying to imply you need to supply the path to the actual swift
command on your system.
On my system with Xcode 7.3 installed as well as the 03-01 swift snapshot...
[1:539]> xcodebuild -version
Build version 7D175
[1:540]> xcrun --find swift
[1:541]> swift --version
Apple Swift version 2.2 (swiftlang-703.0.18.1 clang-703.0.29)
[1:542]> swift build
error: unable to invoke subcommand:
(No such file or directory)
[1:543]> export TOOLCHAINS=swift
[1:544]> xcrun --find swift
[1:545]> swift --version
Apple Swift version 3.0-dev (LLVM b361b0fc05, Clang 11493b0f62, Swift
[1:554]> swift build
error: no Package.swift file found << which is expect since I don't have a
package in this directory.
On Sun, Apr 3, 2016 at 6:51 PM Dave Yost via swift-users < email@example.com> wrote:
This happens with the swift in Xcode 7.3 on 10.11.4, and it happens with
the swift I just built from http://github.com/apple/swift
$ /path/to/bin/swift build
error: unable to invoke subcommand: /path-to/bin/swift-build (No such file
There is no file called “swift-build” anywhere on my system.
How do I fix this?
swift-users mailing list