How do I obtain the Swift Package Manager (SPM)?
I tried using the snapshot from 4.12.16 but that would cause my XCode IDE to crash whenever I attempted to open a project.
Now I've installed XCode_7.3.1_GM_Seed successfully which I thought included the SPM but when I run commands from the terminal like:
swift built --version
or
swift build
It returns: error: unable to invoke subcommand: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build (No such file or directory)
Here is the results of my version check and --find swift commands
admins-Mac:~ admin$ xcrun --find swift
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift
admins-Mac:~ admin$ swift --version
Apple Swift version 2.2 (swiftlang-703.0.18.5 clang-703.0.31)
Target: x86_64-apple-macosx10.9
admins-Mac:~ admin$ export TOOLCHAINS=swift
admins-Mac:~ admin$ xcrun --find swift
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift
How do I fix this so that I'm able to use SPM?