Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode's Time Profiler shows addresses instead of symbols

In general, my problem could be seen on this screen-shot:

A lot of non-symbolicated addresses and something that looks broken inside "Symbols" menu.

Well, and some settings and actions in attempt to solve this. But none still helped:

  • Profile tab is set to use Debug
  • Symbols stripping disabled for both Debug and Release
  • Optimization level is "none" for both Debug and Release
  • Clean, Delete, Restart, etc
  • mdimport ~/Library/Developer/
  • DWARF and dSYM format
like image 274
bronenos Avatar asked Oct 01 '15 14:10

bronenos


1 Answers

I had the same problem - and did everything on your list as well. Here's what finally worked for me:

  • In Instruments, stop the process if it's running.
  • Go to File -> Symbols, and under dSYM path, find the library that isn't being symbolicated.
  • In my case, it was pointing to items in the Trash. So I emptied the Trash, deleted the Module Cache and project in the Derived Data folder, and when I rebuilt the project it started working again. In your case it could be pointing to some other file that either doesn't exist or isn't reachable by Instruments.
like image 184
Chris Garrett Avatar answered Sep 29 '22 04:09

Chris Garrett