gpt4 book ai didi

开源 swift 项目的 Swift.org 问题。错误 : xcrun: error: unable to find utility "launch-with-toolchain", 不是开发人员工具或在 PATH 中

转载 作者:搜寻专家 更新时间:2023-10-31 21:47:22 26 4
gpt4 key购买 nike

我正在尝试使用自定义工具链启动 Xcode 并启用它以使用 Swift 的开源版本。

步骤取自Swift.org

我收到这个错误:

xcrun: error: unable to find utility "launch-with-toolchain", not a developer tool or in PATH

最佳答案

来自 https://swift.org/download/#apple-platforms 的开源 Swift 工具链需要最新的 Xcode 7.2(当前:beta 4)。

xcrun等构建工具使用的developer目录位置必须设置为这个Xcode 7.2。这可以从命令行完成与

sudo xcode-select -s /path/to/Xcode7.2-beta.app/Contents/Developer

或在 Xcode“位置”首选项中:

enter image description here

关于开源 swift 项目的 Swift.org 问题。错误 : xcrun: error: unable to find utility "launch-with-toolchain", 不是开发人员工具或在 PATH 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39720747/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com