问题:在使用Xcode的Profile功能进行内存泄露动态调试时,发现打开Leaks之后一直启动应用不成功(但是项目编译和真机调试运行都是没有问题的);具体表现为启动后闪退,报错误“The data couldn't be read because it isn't in the correct format”
截图如下:
12421632462404_.pic_hd.jpg
解决方式:在项目->Edit Scheme->Profile中,将release调整成debug
WX20210924-134748@2x.png
PS:
1、推测是release下,项目有什么问题导致无法在Leaks下启动应用
2、网上查了很多资料,但没有关于此问题的反馈和解决方案