symbolicatecrash is unable to find any symbols

后端 未结 4 953
逝去的感伤
逝去的感伤 2021-02-06 11:59

I\'m running XCode 4.5.2 and am having problems getting symbolicatecrash to work.

Note that this is for an app and dsym that were NOT generated on my system, and aren\'t

相关标签:
4条回答
  • 2021-02-06 12:01

    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.

    0 讨论(0)
  • 2021-02-06 12:05

    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.
    
    0 讨论(0)
  • 2021-02-06 12:21

    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 '-'
    
    0 讨论(0)
  • 2021-02-06 12:27

    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.

    0 讨论(0)
提交回复
热议问题