我刚刚按照描述下载了 Swift 开源 Xcode 工具链 here .
然而,当按照安装说明进行操作时,第二条说明已经失败,它说:
Run the package installer, which will install an Xcode toolchain into
/Library/Developer/Toolchains/.An Xcode toolchain (
.xctoolchain) includes a copy of the compiler, lldb, and other related tools needed to provide a cohesive development experience for working in a specific version of Swift.
运行包安装程序时出现以下错误:
You cannot install Swift Open Source Xcode Toolchain in this location. The Swift Open Source Xcode Toolchain installer does not allow its software to be installed here.
更新: 早些时候有人建议问题可能是我没有运行 El Capitan(这是真的)。在此期间我没有机会更新我的操作系统,有同样问题的其他人可以确认这可能是原因吗?
最佳答案
您没有满足 Swift 下载页面上描述的要求。不幸的是,您收到的错误消息。
安装 OS X 10.11 (El Capitan) 即可。
关于ios - 安装 Swift 开源 Xcode 工具链时出错 : You cannot install Swift Open Source Xcode Toolchain in this location,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34079947/