摘要:如何在XCode4中设置NSZombieEnabled点击scheme下拉菜单 -> 编辑scheme -> arguments, 然后将点击”加号”, 将NSZombieEnabled参数加到Environment Variables窗口中, 后面的数值写上”YES”.xCode3:target下有个executables打开它的info 在arguments栏下半边 加上个参数name:NSZombieEnabled value:yes 然后购上在debug模式下 以前的bad_access会多点log 帮你定位
阅读全文
浙公网安备 33010602011771号