HAKASHUN / manabi

manabi
14 stars 1 forks source link

swift2.3のライブラリをコマンドラインで実行したい #119

Closed HAKASHUN closed 7 years ago

HAKASHUN commented 7 years ago

NG

swift3で実行されちゃう

xcrun swift ./hoge.swift

OK

これでいけたb

xcrun --toolchain com.apple.dt.toolchain.Swift_2_3 swift ./hoge.swift