报错Command XXXX/dsymutil failed with exit code 11

简介: 报错Command XXXX/dsymutil failed with exit code 11

关于unity3d导出的xcode工程编译不过,报了一个错误:


Command /Applications/Xcode11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 11


微信图片_20221018105543.png

image.png


解决方案:


微信图片_20221018105547.png

image.png


设置成DWARF选项就可以了。


Debug Information Format(调试信息格式)


DWARF简单介绍:


1.DWARF是什么:DWARF 全名是 Debugging with Attribute Record Formats ,是一种调试信息的存放格式。简单的来说就是在机器码和对应的源代码之间建立一座桥梁,大大提高了调试程序的能力。


2.DWARF作用:将 Build Setting 的 Debug Information Format 中的 Debug 改成 DWARF。可以提高编译速度。


dsym简单介绍:


1.dsym是什么:在XCODE编译项目之后,会在app旁看见一个同名的dSYM文件.(rd称之为 符号文件)他是一个编译的中转文件,简单说就是debug的symbols包含在这个文件中.


2.dsym有什么作用:当release的版本 crash的时候,会有一个日志文件,包含出错的内存地址, 使用symbolicatecrash工具能够把日志和dSYM文件转换成可以阅读的log信息,也就是将内存地址,转换成程序里的函数或变量和所属于的 文件名。简单的说,就是当ios发生线上crash的时候,可以利用发版包对应的符号文件(dsym)来方便追查问题。


3.dsym我们可以在哪得到:ios确定下来将要发版的最终版本后,我们可以在jenkins上把对应的dsym文件保存起来。可以发现(重新崩溃)crash后去jenkins上找(注意 时间、企业包是否为发版包)

相关文章
|
2月前
|
Python
解决安装ConcurrentLogHandler报错error in ConcurrentLogHandler setup command: use_2to3 is invalid.
本文介绍了在Python环境下安装ConcurrentLogHandler时遇到的"use_2to3 is invalid"错误的解决方法,主要是通过降级setuptools到57.5.0版本来解决该问题。
109 2
|
2月前
|
开发工具 git
GitHub——Error: Process completed with exit code 126.
GitHub——Error: Process completed with exit code 126.
26 1
GitHub——Error: Process completed with exit code 126.
|
5月前
|
开发者 iOS开发
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
57 0
|
5月前
Showing Recent Messages Command CodeSign failed with a nonzero exit code
Showing Recent Messages Command CodeSign failed with a nonzero exit code
55 0
|
5月前
|
C语言 C++
关于DEV中collect2.exe [Error] ld returned 1 exit status的问题解决!!!
关于DEV中collect2.exe [Error] ld returned 1 exit status的问题解决!!!
|
Python
pychram中提示:Process finished with exit code 0
"Process finished with exit code 0" 是PyCharm中的提示信息,表示程序已经成功地执行完毕并且没有发生任何错误。在PyCharm中,当程序正常终止并返回退出代码0时,这个消息会在控制台中显示。 在PyCharm中运行程序时,它会在一个单独的进程中执行,当程序完成执行后,它会向操作系统返回一个退出代码。退出代码0表示程序成功执行完毕,而非零的退出代码通常表示错误或异常终止。 当出现"Process finished with exit code 0"的提示时,意味着你的程序已经成功地执行完毕,没有发生任何错误或异常情况。你可以通过检查程序输出或任何其他预
1660 0
|
Perl
Command PhaseScriptExecution failed with a nonzero exit code问题解决
在某次pod install后,run项目出现以下错误
678 0
collect1:error:ld returned 1 exit status 解决办法
collect1:error:ld returned 1 exit status 解决办法
collect1:error:ld returned 1 exit status 解决办法
|
网络安全 开发工具 数据安全/隐私保护
git sync fatal: Authentication failed for https://github.com/ did not exit cleanly (exit code 128)
git sync fatal: Authentication failed for https://github.com/ did not exit cleanly (exit code 128)
699 0
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
290 0
ERROR: Command errored out with exit status 1: