Instruments无法启动
最近在iOS7的系统上使用Instrument想检查内存的leaks,启动时候总是提示失败,花了些时间,解决了这个问题,做下笔记。
##issue1
2
3
4
5Error Starting Recording
At least one target failed to launch; aborting run
Target failed to run. Permisson to debug [app name] was denied. The app must be signed with a development identity (i.e. iOS Developer)
##fix1
Product-->Scheme-->Edit Scheme,将Profile那栏中的Build Configuration将Release改为Debug
##issue
1.如果发现leaks视图无法监控到任何的内存泄露,说明你开启了Zombie,将Scheme菜单中的Enable Zombie Objects
勾去就可以了
2.检查你是否启用了环境变量,变量中是否开启了zombie设置