开发者

NSZombie stopped working after distribution provisioning profile added

I was using NSZombie just fine to debug my project, but now it fails to show anything at all when I run the Profiler. The only change I have made that would seem to affect this is the addition of an ad-hc provisioning profile.

The NSZombie environment variable is still enabled for the Run scheme, and the Profile scheme shows it as well, since the Profile scheme is set to "Use the Run action's options."

But when I choose the Allocations Profile Instrument in XCode 4, it offers no report on my NSZombie behavior. I even deliberated added these lines:

NSString *test=[[NSString alloc] initWithFormat:@"hi"];
[test release];
[test release];

This should create a NSZombie, but there is no开发者_StackOverflow社区 Instruments report like there used to be.

Anyone have any ideas?


as noted in my comment, the answer was simple: must be in simulator to use this feature.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜