iOS Tutorial Symbolicating app crash reports

Erel

B4X founder
Staff member
Licensed User
Longtime 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.
 

Attachments

  • project.pbxproj.zip
    2.7 KB · Views: 359

Pendrush

Well-Known Member
Licensed User
Longtime 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

//BA.debugLineNum = 123;BA.debugLine="PlaySlicica.Initialize(File.DirAssets, \"station_play.png\")";
[self._playslicica Initialize:[[self.__c File] DirAssets] "station_play.png"];
File station_play.png don't exist in Assets Folder in my case.

Thank you Erel for "hack".
 
Last edited:

Pendrush

Well-Known Member
Licensed User
Longtime 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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…