执行symbolicatecrash命令时出错“/ usr / bin / xcode-select”:/ usr / bin / symboliccrash下没有这样的文件或目录“ [英] Error while executing symbolicatecrash command "Can't exec "/usr/bin/xcode-select": No such file or directory at /usr/bin/symbolicatecrash"

查看:757
本文介绍了执行symbolicatecrash命令时出错“/ usr / bin / xcode-select”:/ usr / bin / symboliccrash下没有这样的文件或目录“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序在苹果的测试阶段崩溃。我有崩溃日志。当我执行symbolicatecrash命令,我得到一个错误



无法执行/ usr / bin / xcode-select:/ usr / bin / symbolicatecrash



或某些命令如何执行,则它显示相同的崩溃文件。



; .dSYM文件在同一目录中。



我不知道是什么问题。

解决方案

/ usr / bin中缺少xcode-select。尝试再次安装XCode,并确保您选择安装可选的Unix支持和开发工具系统。



xcode-select是一个应该在usr / bin如果您安装了多个XCode版本,它管理到XCode的路径。 / usr / bin中的xcodebuild等工具的版本只是重定向到您选择使用的XCode版本的填充。



查看此Apple link and this 手册页。特别要注意:当编写使用Xcode UNIX工具的软件时,Apple建议使用安装在Xcode / usr而不是/ usr中的工具的副本,因为如果用户禁用了/ usr中的工具,在Xcode安装程序中可选的UNIX Development Support选项您的软件可以使用xcode-select命令找到目录的路径(参见上一节)。


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.

解决方案

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

这篇关于执行symbolicatecrash命令时出错“/ usr / bin / xcode-select”:/ usr / bin / symboliccrash下没有这样的文件或目录“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆