-
Download Apple Platforms installer from swift.org and install it
-
Create
swift-latest.xcconfig
as following contents:SWIFT_EXEC=/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc XCODE_DEFAULT_TOOLCHAIN_OVERRIDE=/Library/Developer/Toolchains/swift-latest.xctoolchain
-
Launch
xcodebuild
withXCODE_XCCONFIG_FILE
environment variable containing path ofswift-latest.xcconfig
XCODE_XCCONFIG_FILE=/path/to/swift-latest.xcconfig xcodebuild
Created
December 25, 2015 00:22
-
-
Save norio-nomura/ea63b61ab942fff2e2b3 to your computer and use it in GitHub Desktop.
How to use swift-2.2-SNAPSHOT in xcodebuild
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment