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

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to