iOS Instruments Leaks Call Tree Symbol Name为地址无法定位到代码

问题描述

在使用Leaks进行内存泄露检测的时候,Call Tree的Symbol Name都是地址,而且无法定位到代码的位置
image

解决方法

在Xcode中设置Debug information Format
Building Setting -> Debug Information Format -> Debug -> DWARF with dSYM File


image

设置完成之后把Instruments重启,项目重跑一次,然后就能看到Symbol Name了


image

参考文章:http://www.jianshu.com/p/14d367fec8ea

你可能感兴趣的:(iOS Instruments Leaks Call Tree Symbol Name为地址无法定位到代码)