Ankit Srivastava
Ankit Srivastava

Reputation: 12405

iPhone App crashes in main.m with no more information ..?

I have an app and it crashes in the main.m file. The crash logs don't give much information can any one please help me debug this..

Below are the crash log...

Upvotes: 0

Views: 1408

Answers (2)

Nikita P
Nikita P

Reputation: 4246

I second with Nishant,

Seeing the Crash log, I can confirm that you are releasing some object that you have marked autorelease, and when the autorelease pool drains out that object, it's reference count is already 0, now going to -1, hence crashing.

Do not release autoreleased objects.

Upvotes: 0

Nishant B
Nishant B

Reputation: 2897

Tried with enabling "Zombie" in your Xcode project.

Also have a look at below tutorial, it will help you a lot:

http://www.raywenderlich.com/23704/demystifying-ios-application-crash-logs

Cheers!

Upvotes: 1

Related Questions