Post

Replies

Boosts

Views

Activity

Swift Package Manager Error
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 orswift buildIt 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 commandsadmins-Mac:~ admin$ xcrun --find swift/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftadmins-Mac:~ admin$ swift --versionApple Swift version 2.2 (swiftlang-703.0.18.5 clang-703.0.31)Target: x86_64-apple-macosx10.9admins-Mac:~ admin$ export TOOLCHAINS=swiftadmins-Mac:~ admin$ xcrun --find swift/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftHow do I fix this so that I'm able to use SPM?
1
0
1.9k
Apr ’16