1

My application crashes when freely running it on a real device or in the simulator. When I'm running it with XCode attached, the app works fine.

The app doesn't give me any errors and since I'm not running it with XCode attached, there is no message sent to the logger.

Any idea of what could be wrong or how I could find out what causes this crash?

Thanks!

Alex
  • 7,432
  • 20
  • 75
  • 118

3 Answers3

0

If you just want to test in a device why don't you try through iTunes. Find the Target of your project in the Finder, then drag it to iTunes. You can then sync the applications. This is not a solution but an alternative to run the app on your device.

visakh7
  • 26,380
  • 8
  • 55
  • 69
0

Thanks Aditya,

The crash logs in the Organizer are actually very well detailed and they even include the line of code in the implementation file where the app crashed. When going to that line of code it seemed that I was CFRelease -ing a ABRecordRef, which is an integer of some kind...therefore I shouldn't release it

The weird thing is that it didn't crash or complain while debugging, but when running it on the device it did.

Alex
  • 7,432
  • 20
  • 75
  • 118
0

You can read about CFRelease in detail in the following thread

Cheers

Community
  • 1
  • 1
Aditya
  • 4,414
  • 5
  • 29
  • 40