Hacker News new | past | comments | ask | show | jobs | submit login

If I already have swift-3 and Xcode 8, how do I install only swift-4?



You can download a toolchain snapshot from here. There's a swift-4.0-branch download if you scroll a bit.

https://swift.org/download/#snapshots


Keep in mind that binaries built with the toolchain snapshots cannot be submitted to the App Store. You need an Xcode release for that.


Do you have homebrew installed? If so...

    brew install swiftenv


I received a CLT update today, it brought swift 4 with it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: