swiftpm linking problems

Hello, I am having linking problems when using swiftpm, and I have burned enough time into this that I could use a nudge.

Sample reproduction:

I run swift build —init and swift build -v -Xcc -v. Here is the output:

This seems like the simplest configuration that should work, but swiftpm cannot find any of the swift symbols. I have tried reinstalling the entire toolchain and switching xcode-select to both Xcode 7.2 and the latest 7.3 beta. Any help would be appreciated.

Hello, I am having linking problems when using swiftpm, and I have burned enough time into this that I could use a nudge.

Sample reproduction:

I run swift build —init and swift build -v -Xcc -v. Here is the output:

swiftpm linking problems · GitHub
This seems like the simplest configuration that should work, but swiftpm cannot find any of the swift symbols. I have tried reinstalling the entire toolchain and switching xcode-select to both Xcode 7.2 and the latest 7.3 beta. Any help would be appreciated.

For some reason your installation of Swift is not linking its own standard library.

We have a number of tickets open for this, here’s one:

    [SR-151] Stdlib not being linked on swift build · Issue #42773 · apple/swift · GitHub

So far we have not been able to diagnose what is wrong, please chime in on the ticket, include as much information as possible, especially the OS X version, your Xcode version(s) and how you installed the Swift toolchain.

Sorry and thanks.