0

I have extensive XCTest unit test, sometimes when i run it, I encouter EXC_BAD_ACCESS. Is there any way to enable NSZombie while running the test code ?

i tried Is it possible to run XCTest based tests under Instruments in Xcode 5? but it doesn't seem to work when i run the test bundle

Community
  • 1
  • 1
ahmy
  • 4,095
  • 4
  • 27
  • 36

1 Answers1

0

You can set Environment Variable's NSZombieEnabled on YES for your test target.

Here you have some more details.

Mateusz
  • 1,222
  • 11
  • 22