문제

I've set to enable Zombies (NSZombieEnabled) in the Arguments tab in the scheme. But I just recently noticed that there is a tab called Diagnostics where you can tick a box called "Enable Zombie Objects".

Are these two equivalent ways of enabling zombies?

도움이 되었습니까?

해결책

Seems they are the same:

Environment variables are now part of the "scheme".

If you edit the scheme you want to turn on zombies for, go to the "Run Foo.app" stage in the left panel, and the "Arguments" tab on the right. You can then add NSZombieEnabled to the "Environment Variables" section and set the value to YES, as you could in Xcode 3.

In Xcode 4.1 and above, there's also checkbox on the "Diagnostics" tab of the "Run" stage to "Enable Zombie Objects".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top