0

I'm testing the framework HockeyApps for testing apps with iOS, it seems I added successfully my app.

I added a code which is triggered after the user touches a button, the code is very simple:

- (IBAction)didClickAuthenticateOptions:(id)sender {

    NSString *s = @"x";
    id obj = s;
    NSArray *arr = obj;

    NSLog(@"the array has the following lenght:");
    NSLog(@"%lu", (unsigned long)[arr count]);
}

this code will terminate with a crash on my app.

I installed and executed my app normally on my iPhone, and the crash report was sent to my site:

crash report page

but when I opened the crash report, I expected to get information about the file, method, line of code that provoked the crash

enter image description here

when I clicked on "view raw log" I got all this:

raw log

How to find the method, line and code that provoked the crash in all that log???

thanks in advance for the support

Jesús Ayala
  • 2,743
  • 3
  • 32
  • 48

1 Answers1

2

This is because you did not yet upload the correct dSYM files to HockeyApp. They are needed to translate the cryptic memory addresses back to readable filenames, method names, and line numbers.

There some more info on how to find the correct dSYM here.

Community
  • 1
  • 1
Lukas Spieß
  • 2,478
  • 2
  • 19
  • 24
  • I tried to find it in xcode and iTunes connect but I couldn't find that file, l added more details on my question Lukas Spieß – Jesús Ayala Jul 15 '16 at 15:06
  • you were right, instead of downloading and installing the app from the page, I just Ran the program from xcode, that may generate another dSYM file, when I installed the correct file, it worked perfectly, thanks – Jesús Ayala Jul 18 '16 at 14:46
  • Glad to hear I could help :) – Lukas Spieß Jul 18 '16 at 14:55
  • @JesúsAyala Would you mind cleaning up your question a bit? Right now it's very long and contains a lot of confusing information. – Lukas Spieß Jul 18 '16 at 14:56
  • Do you know, if I upload the correct dSYM after the crashes has occurred, will I be able to read past crashes, from before I uploaded it? If so, how long will it take? I uploaded the correct dSYM now, but the recent crashes are still not translated.. – Sti May 04 '18 at 12:15
  • What lucas mentioned is the right answer and I figure it out by following this link from Hockey app: https://support.hockeyapp.net/kb/client-integration-ios-mac-os-x-tvos/how-to-manually-upload-and-symbolicate-a-crash – Fidel Feb 15 '19 at 16:43