codesign_allocate - 不是开发人员工具或PATH

时间:2016-01-29 16:29:23

标签: xcode

sh: line 1:  5257 Segmentation fault: 11  /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find codesign_allocate 2> /dev/null
codesign_allocate: error: unable to find utility "codesign_allocate", not a developer tool or in PATH

但是,如果我运行locate codesign_allocate,它会找到它并且它在路径echo $PATH | tr : '\n'

我只是从命令行调用codesign_allocate并且当我尝试从Xcode编写代码签名框架时都得到它。

一旦我将Xcode更新为7.2(我甚至尝试卸载Xcode并重新安装,卸载命令行工具并重新安装它们),这个问题浮出水面。

我调查/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate不在那里。我通常从AppStore下载Xcode。

我应该将实际codesign_allocate/usr/bin

联系起来

xcrun: error: unable to find utility "xcode-select", not a developer tool or in PATH

Xcode-select ...

的同样问题

0 个答案:

没有答案