Time profiler doesn't show me functions

纵然是瞬间 提交于 2019-11-29 17:50:41

Make sure the Generate Debug Symbols build setting is set to Yes. You need debug symbols to have function names appear in Instruments.

If your project is generating debug symbols, Instruments may not be able to find your project's dSYM file. In Instruments choose Instrument > Call Tree Data Mining > Locate dSYM file to find and open your project's dSYM file. Your project's dSYM file is usually located in the same directory as the application bundle of your project's release version. Additional information can be found in the following article:

Instruments: Locating dSYM Files

I had 2 different versions of Xcode 9.4.1 and 10.1 both of them had command line tools which were in conflict(i suppose). To fix this issue I set right command line tools version there:

"Xcode -> Preferences -> Locations tab -> Command line tools".

Also check Build Settings and set "DWARF with dSYM File" to your target.

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