Skip to content

Instantly share code, notes, and snippets.

@KentarouKanno
Last active June 24, 2017 08:15
Show Gist options
  • Save KentarouKanno/81b13e55c04617acfb108f4add281602 to your computer and use it in GitHub Desktop.
Save KentarouKanno/81b13e55c04617acfb108f4add281602 to your computer and use it in GitHub Desktop.
Swift Basic

Swift Basic

★ 現在のSwiftバージョンを確認

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -v

// 結果
Apple Swift version 3.0 (swiftlang-800.0.46.2 clang-800.0.38)
Target: x86_64-apple-macosx10.9

★ Xcode8でSwift2.3 を使う設定

Target -> Build Settings -> Use Legacy Swift Language Version を Yes に設定する

Xcode

iOSプロジェクトのBuildを高速化する

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment