[swift-build-dev] swift-build missing in xcode 7.3?

Max Howell max.howell at apple.com
Tue Mar 22 14:31:20 CDT 2016


swift-build is not part of Xcode 7.3. To use SwiftPM with Xcode 7.x you will need to download a Swift 3 toolchain from https://swift.org

> On Mar 22, 2016, at 12:10 PM, George King via swift-build-dev <swift-build-dev at swift.org> wrote:
> 
> Hi, not sure if this is the right place to ask this question, but I'm trying to get started with the package manager and Xcode 7.3 does not appear to have come with the swift-build executable. Is my installation broken, is or is anyone else seeing the same thing?
> 
> I downloaded Xcode 7.3 from the app store yesterday: "Version 7.3 (7D175)".
> 
> Here's what I see:
> 
> gwk ~ $ swift --version
> Apple Swift version 2.2 (swiftlang-703.0.18.1 clang-703.0.29)
> Target: x86_64-apple-macosx10.9
> gwk ~ $ swift build
> error: unable to invoke subcommand: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build (No such file or directory)
> gwk ~ $ which swift
> /usr/bin/swift
> gwk ~ $ ls /usr/bin/swift*
> /usr/bin/swift  /usr/bin/swiftc
> gwk ~ $ ls /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift*
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-compress
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-demangle
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-stdlib-tool
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-update
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
> 
> Thanks,
> George
> 
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-build-dev



More information about the swift-build-dev mailing list