iPhone app stopped building crash reports

Posted by BankStrong on Stack Overflow See other posts from Stack Overflow or by BankStrong
Published on 2010-04-22T13:58:45Z Indexed on 2010/04/22 14:13 UTC
Read the original article Hit count: 411

Filed under:
|

My app formerly created useful crash logs. I synced my iPhone in the past and found crash logs in library/logs/CrashReporter

About a month ago, my app stopped creating crash reports. When I first discovered this problem, I assumed it was due to memory corruption (a possibility in my app).

I just created a new project and added a crash to it.

// Implement viewDidLoad to do additional setup after loading the view, 
// typically from a nib.
- (void)viewDidLoad {
NSMutableArray *array = [[NSMutableArray alloc] init];
[array removeObjectAtIndex:-1];

  [super viewDidLoad];
}

This app does not create a crash report either.

Ideas I've started to explore:

  1. My phone is corrupted (tried restoring - somehow I brought it to the state from a few months ago)
  2. My XCode is corrupt (tried reinstalling, but current download demands Snow Leopard - and I can't upgrade to Snow Leopard online). This seems possible - I may have messed with device support around a month ago (similar to http://stackoverflow.com/questions/1224867/does-iphone-os-3-0-1-ruin-your-development-phone )
  3. The location for crash logs has somehow moved.

Suggestions?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about xcode