简体   繁体   English

即使我具有正确的.dSYM文件,Xcode也无法表示我的崩溃日志

[英]Xcode cannot symbolicate my crash logs even though I have correct .dSYM file

I have been observing this that when ever my app crashes i get the crash log and try to symbolicate it but following happen 我一直观察到,每当我的应用程序崩溃时,我都会获取崩溃日志并尝试对其进行符号化,但随后会发生

  1. When I use xcode to symbolicate, it never symbolicates the addresses of the crash 当我使用xcode来表示符号时,它从不表示崩溃的地址
  2. When I use atos command specified developer.apple.com technotes it either gives some other class function name that does not have to do any thing with the crash 当我使用atos命令指定的developer.apple.com技术说明时,它会给出一些其他类函数名称,这些名称在崩溃时不必做任何事情
  3. I have used other methods like symbolicatecrash script but the result is same as before. 我使用了其他方法,例如symbolicatecrash脚本,但结果与以前相同。
  4. I also tried solution given stackoverflow.com/questions/7932992 but did not succeed 我还尝试了给定stackoverflow.com/questions/7932992的解决方案,但未成功
  5. I created a demo crash and tried to change my scheme of the app for "Run" and changed "build configuration" to "release" to check if the crashes symbolicate when I run the app directly to device, I test the app, the demo crash occurs and in this case the crahes get symbolicated. 我创建了一个演示崩溃,并尝试将我的应用程序方案更改为“运行”,并将“构建配置”更改为“发布”,以检查当我直接将应用程序运行到设备上时崩溃是否象征着,我测试了该应用程序,该演示发生崩溃,在这种情况下,裂纹被象征化了。
  6. I created a demo crash in a new app and created an archive and export IPA, used this ipa in a device to recreate that crash but still xcode could not symbolicate that crash. 我在一个新的应用程序中创建了一个演示崩溃,并创建了一个存档并导出IPA,在设备中使用此ipa重新创建了该崩溃,但xcode仍然无法表示该崩溃。

I don't get why is it behaving this way, 我不明白为什么会这样

I looked into the archives to find my dSYM file and can locate it there but could not symbolicate it using any of the processes stated above. 我查看了档案,找到了我的dSYM文件,可以在其中找到它,但是使用上述任何过程都无法将其符号化。

A guidance will be helpful! 指导会有所帮助!

I was working with code back to see if there can be any impact of bitcode with help of a friend, found that while exporting archive to IPA, it asks me to rebuild with bitcode (which was checked) I just tried and unchecked it to create the IPA and this time my app crash logs were symbolicated, I still don't know why this happens because apple recomends to rebuild with bitcode while submitting apps. 我在朋友的帮助下回过头来查看代码是否有影响,发现在将存档导出到IPA时,它要求我使用我尝试过且未选中它来创建的位代码(已检查)进行重建。 IPA,这次是我的应用崩溃日志的象征,我仍然不知道为什么会这样,因为苹果建议在提交应用时使用位码进行重建。 I am looking for more answeres for why is it happening? 我正在寻找更多答案,为什么会这样呢? Will keep you posted (also a enlighten me if there are any misses.) 将保持您的状态(如果有任何遗漏,也能给我带来启发。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM