Tracking down zombies with Xcode 5 on ios6

橙三吉。 提交于 2019-12-18 04:37:09

问题


I have a zombie object somewhere in my code when it is run on iOS 6.1 but not in 7.

Unfortunately instruments will not run with zombies it pops up the following warning. "Zombies can only be run on devices with iOS 7 or later".

I don't really want to download an older version of Xcode as works internet is painfully slow.

What are some tips/tricks for hunting down the cause of this zombie as my normal goto approach is unavailable.

Any help would be greatly appreciated.


回答1:


From the menu bar, choose Project > Scheme > Edit Scheme… Click the Run item in the list on the left. Then click the Diagnostics tab on the right. Turn on the “Enable Zombie Objects” checkbox. Run your app from Xcode.



来源:https://stackoverflow.com/questions/20109022/tracking-down-zombies-with-xcode-5-on-ios6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!