[swift-users] Build from command line using swift 4 toolchain

Mishal Shah mishal_shah at apple.com
Mon May 22 19:22:05 CDT 2017


Hi Halen, 

You can set the toolchain with --toolchain flag for xcrun and -toolchain for xcodebuild, here is more detail https://swift.org/download/#using-downloads

Thanks, 
Mishal Shah
> On May 22, 2017, at 2:03 PM, Halen Wooten via swift-users <swift-users at swift.org> wrote:
> 
> Hi,
> 
> I downloaded the Swift 4 toolchain from swift.org and change my
> setting in Xcode. However, when I build xcode projects from the
> command line it's still using Swift 3.1. How can I instruct the
> command line tools to build with Swift 4?
> 
> Thanks for the help,
> 
> Halen
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users



More information about the swift-users mailing list