【发布时间】:2015-08-22 13:22:08
【问题描述】:
我安装了 XCode 7 Beta,当我打开 Playground 时显示:
Playground 执行因进程意外停止而终止。
我在终端中快速运行,它说:
Apple Swift 1.2 版 (swiftlang-602.0.53.1 clang-602.0.53) 目标:x86_64-apple-darwin15.0.0
如何将我的 swift 版本更新到 2?
【问题讨论】:
标签: swift
我安装了 XCode 7 Beta,当我打开 Playground 时显示:
Playground 执行因进程意外停止而终止。
我在终端中快速运行,它说:
Apple Swift 1.2 版 (swiftlang-602.0.53.1 clang-602.0.53) 目标:x86_64-apple-darwin15.0.0
如何将我的 swift 版本更新到 2?
【问题讨论】:
标签: swift
当您安装了不同的 Xcode IDE 副本时会发生这种情况
使用xcode-select 命令行实用程序选择您要使用的 Xcode 版本
$ xcode-select --switch /path/to/the/Xcode
【讨论】: