symbolicatecrash is unable to find any symbols

北战南征 提交于 2019-12-03 08:21:29
Ashishail

I had the same problem today. In my case the mdfind was not able to search the Archives (/Users/xxx/Library/Developer/Xcode/Archives/) folder. So what I did was went to System Preferences->Spotlight->Privacy, added and then removed the Archives folder. Restart Xcode or Re-symbolicate

mdfind is used in symbolicatecrash to find dsym relative to the crash file with uuid in your case

mdfind "com_apple_xcode_dsym_uuids == E30FC309-DF7B-3C9F-8AC5-7F0F6047D65F"

you can also run

mdfind "com_apple_xcode_dsym_uuids == *"

to list all the dsym locations mdfind knows. This will give you the idea if your dsym is in the list or not

Also run this for your dsym to get uuid of ur app

dwarfdump --uuid xxx.app.dSYM/| tr '[:upper:]' '[:lower:]' | tr -d '-'
ıɾuǝʞ

This issue is related to How can I tell Spotlight to index my .dSYM bundles?

I've tried to force importation of dSYM in my ~/Library, but without success, so the answer is :

FINAL SOLUTION

Configure Xcode so that the archive folder is located outside of ~/Library.

If you never connect crashed device to your computer, you don't have symbol files for this device. That's why symbolicatecrash cannot find dsym files for system libraries.

Just connect your device to computer and wait xcode to download symbol files.

On line 4 the last argument should be the directory that contains the .app and the .dSYM. At least that is what I do when I run the symbolicatecrash script from the command line.

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