title: EXC_BAD_access code=2 address 0x8
body: <p>I have an app that I've been working on, which worked perfectly on iOS 6 in XCode 4.5, but now I downloaded XCode 5 with iOS 7 and get this error,</p>
  
  <blockquote>
    <p>Thread 1: EXC_BAD_access code=2 address 0x8</p>
  </blockquote>
  
  <p>in main.m :</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import "TestAppDelegate.h"
  
  int main(int argc, char *argv[])
  {
      @autoreleasepool {
          return UIApplicationMain(argc, argv, nil, NSStringFromClass([TestAppDelegate class]));
      }
  }
  </code></pre>
  
  <p>I downloaded iOS 6 sdk and the code work perfect on iOS 6 sdk <code>yet</code> but with iOS 7 , i get this error , and I don't know why?
  I try to debug this but get no information about the crash. I read something about zombies and enabled it by going to <strong>Product->Edit Schema->Diagnostic->Enable Zombie Object</strong>. But even after this I didn't get anything helpful.</p>
  
  <p>Any pointers?</p>