查看Swift版本 $ xcrun swift -version 查看Xcode位置 $ xcrun --find swift 參考鏈接:https://shaohualee.com/article/649