Swift.org 问题与开源 swift 项目.错误:xcrun:错误:无法找到实用程序“launch-with-toolchain",不是开发人员工具或在 PATH 中 [英] Swift.org issue with open source swift project. Error: xcrun: error: unable to find utility "launch-with-toolchain", not a developer tool or in PATH
本文介绍了Swift.org 问题与开源 swift 项目.错误:xcrun:错误:无法找到实用程序“launch-with-toolchain",不是开发人员工具或在 PATH 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用自定义工具链启动 Xcode,并允许使用 Swift 的开源版本.
步骤取自
I am trying to Start Xcode with the custom toolchain and to be enabled to use the open source version of Swift.
Steps are taken from Swift.org
And I receive this error:
xcrun: error: unable to find utility "launch-with-toolchain", not a developer tool or in PATH
解决方案
The open source Swift toolchain from https://swift.org/download/#apple-platforms requires the latest Xcode 7.2 (currently: beta 4).
The location of the developer directory used by xcrun
and other build tools must be set to this Xcode 7.2. This can be done from the command-line
with
sudo xcode-select -s /path/to/Xcode7.2-beta.app/Contents/Developer
or in the Xcode "Locations" preferences:
这篇关于Swift.org 问题与开源 swift 项目.错误:xcrun:错误:无法找到实用程序“launch-with-toolchain",不是开发人员工具或在 PATH 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文