无法找到实用程序 actool:不是开发人员工具或在 PATH 中 - Unity

Fra*_*z L 2 xcode build unity-game-engine ios

Build and Run我在使用 Unity 2021.3 的 macOS Monterey 上运行命令时遇到错误。

错误是:Unable to find utility actool: not a developer tool or in PATH

有什么解决办法吗?

Fra*_*z L 6

正如已经解决的这个问题Command Line Tool - Error - xcrun: error:无法找到实用程序“xcodebuild”,不是开发人员工具或在 PATH 中

解决该问题的步骤如下:

  • 打开 XCode
  • 首选项 > 位置
  • 命令行工具:XCode <version>