打开终端,使用命令 xcrun swift -version xcodebuild -showsdks 如图所示: 转载于:https://juejin.im/post/5cde5a62f265da1bc55230e5