[swift-build-dev] Swift-pm with swift 2.2

Max Howell max.howell at apple.com
Wed Jan 27 17:37:20 CST 2016


> Hi,
> 
> I see that when the swift 2.2 branch was created the package manager
> was removed.  https://swift.org/blog/swift-2-2-release-process/
> explains that the package manager won't be included with 2.2.

It is included with the development snapshots.

> I would like to use the package manager with swift 2.2.  I expected to
> be able to build swift-pm directly from the
> https://github.com/apple/swift-package-manager repo, but that doesn't
> seem to work any longer with the latest 2.2 snapshots- the README
> references files that no longer exist in the snapshots.

It should work, if you are using a release snapshot that doesn’t come with some of the things then you will need to build swift-llbuild first, then the README instructions are still correct.

I’ll update the README to detail this stuff as this is probably the 20th report of this confusion I have read today :(

> Is it possible to divorce the build of swift-pm from the swift
> language so that once a stable 2.2 is released I can use it with swift
> pm?

I don’t understand.


More information about the swift-build-dev mailing list