终端查看 查看Swift版本: $ xcrun swift -version 查看Swift位置: $ xcrun --find swift Xcode项目中查看 Build Settings -> Swift Language Version Swift版本