App opens then immediately closes – iphone simulator

When I “run” my app from XCode the simulator comes up and the app attempts to run, it animates to a black screen for a second and then the app closes immediately.

The app was running fine before and now suddenly won’t work.

  • Slow app performance under iOS 8 simulator with Xcode 6
  • UIButton long press with finger stationary
  • UITableViewCell allocation issue - cell is not nil
  • iOS 6.1 simulator on OSX 10.10 Yosemite
  • Invalid Binary Error after App Store submission
  • Is there any way to use LLVM 3 in Xcode 4.1?
  • There is no output on the console, no errors or anything and the app isn’t crashing (as far as I can tell).

    I have tried deleting all my user specific files in the xcodeproj package, but this hasn’t changed anything.

    Is there any other reason why this would happen? How do I fix this?

    Thank you.

    ADDITION: NSLog(@"something"); in the application:didFinishLaunchingWithOptions method doesn’t show up on the console.

    2 Solutions Collect From Internet About “App opens then immediately closes – iphone simulator”

    A reboot of my Mac seems to have fixed it. Thanks guys for your help. 🙂

    if you are using a new Xcode(4+) and previously 3, there may be issue. Try setting the Architectures (Target -> Build Settings -> Architectures) to support armv6 too, presently it supports armv7(standard) only. If my memory is not deceiving me I guess I had such an issue.