Error while executing symbolicatecrash command “Can't exec ”/usr/bin/xcode-select“: No such file or directory at /usr/bin/symbolicatecrash”

别说谁变了你拦得住时间么 提交于 2019-12-11 05:45:15

问题


My application get crash in apple's testing phase. I have crash log. When I am execute symbolicatecrash command, I get an error

Can't exec "/usr/bin/xcode-select": No such file or directory at /usr/bin/symbolicatecrash

or some how command get executed then it shows same crash file.

My .app & .dSYM files are in same directory.

I don't know what is problem. kindly help me in solving above issue.

Thanks.


回答1:


xcode-select is missing from /usr/bin. Try installing XCode again, and making sure you choose to install the optional Unix support and the Developer Tools System.

xcode-select is a program which should be in usr/bin that manages the path to XCode if you have multiple XCode versions installed. Versions of tools such as xcodebuild in /usr/bin are just shims that redirect to which ever version of XCode you are choosing to use.

See this Apple link and this man page. In particular, note this: "When writing software that uses the Xcode UNIX tools, Apple recommends using the copy of those tools installed in Xcode/usr instead of /usr, because your users may not have tools in /usr if they have disabled the optional UNIX Development Support choice in the Xcode installer. Your software can find the path to the directory with the xcode-select command (see previous section)."



来源:https://stackoverflow.com/questions/1859852/error-while-executing-symbolicatecrash-command-cant-exec-usr-bin-xcode-selec

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!