[swift-users] Installing Package manager
max.howell at apple.com
Wed Mar 16 13:06:53 CDT 2016
The swift in /usr/bin does not know about the swift toolchain you have installed.
You need to add the swift from the /usr/bin in your toolchain to the PATH first.
Once Xcode 7.3 lands you’ll be able to set TOOLCHAINS=swift as an environment variable and then you won’t need to set the PATH.
> I'm trying to install your package manager on my computer (MacBook Pro, OSX El Capitan 10.11.3)
> to use in Xcode (7.2.1). I started from the Github page (https://github.com/apple/swift-package-manager <https://github.com/apple/swift-package-manager>),
> but I really don't get it installed.
> I downloaded the Developer snapshot and then tried "swift build --help" in my terminal, but I got the "<unknown>:0: error: no such file or directory: 'build'" error.
> I've tried restarting Xcode, restarting my computer, deleting it and downloading it again, but no luck.
> I've searched the internet for answers, but find none. I get the feeling I'm forgetting something important, or maybe I forgot an important step in the process? I really don't know, and I need this Package Manager to use in an tvOs project. Could you help me?
> swift-users mailing list
> swift-users at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users