iOS Tutorial Symbolicating app crash reports

Discussion in 'iOS Tutorials' started by Pendrush, May 21, 2015.

  1. Pendrush

    Pendrush Well-Known Member Licensed User

  2. Erel

    Erel Administrator Staff Member Licensed User

    Please try the following steps:
    1. Close the IDE.
    2. Unzip the attached file and copy it to B4i installation folder (replace the previous file).
    3. Now when you build your app in release mode the ipa file will include the dsym file (which is a Mac package).
    You should remove this package from the ipa file before submitting it to Apple.

    With the dsym package you can symbolicate the crash log as explained in the link you posted.
     

    Attached Files:

    Pendrush likes this.
  3. Pendrush

    Pendrush Well-Known Member Licensed User

    OK, this is how I do.
    I have use attached project.pbxproj.zip, compile release app, run in on iPad, app crash, on iPad click on settings -> privacy -> diagnostic & usage -> diagnostic & usage data, then find LatestCrash-yourappname.ipa, click on it and copy all text from there. Send text on your email. Download email and copy all text in a txt file and give file name YourApp.crash. Copy folders from mac AppName.app and AppName.dSYM to my win computer. Then run http://sourceforge.net/projects/ioscrashlogstool/ click on File -> Search in folder, and find folders where you copy all files from above. You will get something like

    Look line number 5 AppNAME 0xd9f1e -[b4i_pgtest_show] (b4i_pgtest.m:1140) 1140 is error line.
    now browse folder on MAC \\MAC\xxxx\b4iBuild\UploadedProjects\your_id\B4iProject\ and find file b4i_pgtest.m and go to line 1140
    in my case this is

    File station_play.png don't exist in Assets Folder in my case.

    Thank you Erel for "hack".
     
    Last edited: May 23, 2015
    Mark Turney likes this.
  4. Erel

    Erel Administrator Staff Member Licensed User

    Very useful. Thank you for sharing this. It means that a local Mac is not required.
     
  5. Pendrush

    Pendrush Well-Known Member Licensed User

    I have two issues:

    1. When I compile app1 (release) and then compile app2 (release) and then app3 (release), in app3.IPA(zip) /payload/ I can see app1.dSYM, app2.dSYM and app3.dSYM, I have try to restart server, even reboot local mac but without success, all ever compiled apps (release) are inside payload folder with dSYM extension.

    2. When revert to original project.pbxproj.template, release compilation also include dSYM folders from that compiled app and all apps compiled before.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    You can delete all the files in the project folder (on the mac) to clean it. Currently the Payload folder is not deleted automatically in the local builders.
     
    Pendrush likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice