Xcode 4 Instruments doesn't show source lines

前端 未结 8 1038
执笔经年
执笔经年 2021-01-30 14:30

I\'ve just started playing with Xcode 4, and found that, no matter how I setup debugging symbols in the project, Instruments refuses to display source lines for stack trace item

8条回答
  •  星月不相逢
    2021-01-30 14:37

    Here's my environment...

    • XCode 8.2
    • Mac OS v10.12 Sierra

    I had the same problem running in the simulator, and it was driving me nuts because ALL the standard go-to fixes were not working.

    What did it for me was plugging my iPad into the MacBook and running an instruments session against said app on my plugged in iPad. Instruments properly symbolicated my app when running on the iPad, and then continued to work when I disconnected the iPad and ran instruments later in the simulator.

    I suspect it had something to do with updating my project to use the following...

    • libsqlite3.tbd instead of libsqlite3.dylib
    • libstdc++.6.tbd instead of libstdc++.dylib

    I don't know why that would be the case, but that was the ONLY project change I had made before my symbols were lost in Instruments.

提交回复
热议问题