1 ) findthebuilduidinacreportthefirstlineinthe ' binary images : ' sectionofacrashreportincludesthebuilduid,inside,
thelineendswiththefullpathoftheapp ' sexecutableonthesystem。
note 3360 oniosthepathtotheapp ' sexecutablewillhavetheform/var/mobile/applications/containeryxdwx/path _ to _ app _ executable . thecontaineryxdwxisnottheuidyouarelookingfor.tokeepappsseparate, iosplacestheminsidetheirowncontainerdirectory.toensureit ' s unique,thecontainerisgivenauuidasaname, whichisintentionallyunrelatedtotheappitself.don ' tbethrownoffbythisseconduid,the one you want is inside。
The last parts of this path,after theCONTAINERyxdwx,pointstotheexecutableinsidetheappbundle,and will be useful in Step 2。
Listing 1Crash Report Excerpt
$ grep-- after-context=2' binary images 3360 ' example.crashbinaryimages 33600 XB 6000-0xb7fffexamplearmv 7270 a9 B9 d 7a 3330 28d4f 177-d312-4d3b-a76c-c2ac b4cb7dad/example.app/example0x2feb 5000-0x2fed6fffdyldarmv7lib/dyld here,thebubild andthepathtotheapp ' sexecutableisexample.app/example.28d4f 177-d312-4d3b-a76c-c2ac b4cb7dadisthecontaineryxdwx,)
后退到顶