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
...