如何让xcode自动检查内存泄露

在project-setting中找到 “Run Static Analyzer” 键,然后把值修改为“YES”.这样在编码的时候,xcode就可以自动为我们检查内存泄露了.

原图片:http://blog.csdn.net/shijiucdy/article/details/8185968

xcode 5中按如下设置:

 

 

posted @ 2014-04-16 13:26  ygm900  阅读(2493)  评论(0)    收藏  举报