swift-build missing in xcode 7.3?

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 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@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@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev

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

Related to updating the toolchains, I couldn’t run swift build with the more recent snapshot, running into the following:

dyld: Library not loaded: @rpath/libswiftCore.dylib" on swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a

This correct the issue:

-Kyle

···

> On Mar 22, 2016, at 12:10 PM, George King via swift-build-dev<swift-build-dev@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@swift.org
> https://lists.swift.org/mailman/listinfo/swift-build-dev

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 <https://swift.org/&gt;

Related to updating the toolchains, I couldn’t run swift build with the more recent snapshot, running into the following:

dyld: Library not loaded: @rpath/libswiftCore.dylib" on swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a

Here’s the ticket for this bug: [SR-975] SwiftPM seems broken in the latest snapshot · Issue #5426 · apple/swift-package-manager · GitHub