Xcode Instruments is stripping symbols despite all build settings to the contrary

前端 未结 7 2149
粉色の甜心
粉色の甜心 2021-02-05 17:05

Problem

Instruments\' Time Profiler is stripping all symbols except system libraries from my app, despite the fact that I have disabled this behavior in

7条回答
  •  情书的邮戳
    2021-02-05 17:40

    I have a lot of third party frameworks whose symbols and binaries are unfortunately getting lost.

    Additionally, my app's binary was getting lost.

    I.e. if I selected File > Symbols, clicked my target, and found the similarly named item, the Binary Path was showing up red.

    The solution was to go to Instruments > Preferences > Symbols, and add /Users//Library/Developer/Xcode/DerviedData to the search paths. Library is not indexed by Spotlight. After doing this, I have at least had the symbols for my app. The little circle next to my app's name goes from Yellow to Green when I do this, and persists between restarting Instruments, unlike other solutions to manually set the binary.

    Let me know if you can tell me how to get all the ones for my third party frameworks. I use Carthage for some, others installed manually. Have had no luck with these yet.

提交回复
热议问题