Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>OK turns out this answer is now what is required for the latest XCode 5.1.1:</p> <p>Recently I had a crash log from an ad-hoc build. XCode refused to Symbolicate. I had an archived build a few hours old and I wanted to force a symbolication using my archived build. Here is how I did it:</p> <p>1) First I opened a terminal window and went to the directory containing my archive. I ran this command: </p> <pre><code>xcrun dwarfdump --uuid Example.app/Example | tr '[:upper:]' '[:lower:]' | tr -d '-' </code></pre> <p>This pulled out the dsym_uuid of the archived build. The tr command converts the guid from an uppercase guid with dashes to a lowercase guid with no dashes</p> <p>2) I went into the .crash file and changed the guid associated with my binary in the crash log to the guid associated with the xcdarchive on my machine</p> <p>For example, went from</p> <pre><code> 0x80000 - 0x49efff +MyApp armv7 &lt;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&gt; /var/mobile/Applications/DC23BDC0-75E3-4DCA-8AC3-099889CE22E0/MyApp.app/MyApp </code></pre> <p>to</p> <pre><code> 0x80000 - 0x49efff +MyApp armv7 &lt;bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb&gt; /var/mobile/Applications/DC23BDC0-75E3-4DCA-8AC3-099889CE22E0/MyApp.app/MyApp </code></pre> <p>3) From the terminal, I set my DEVELOPER_DIR environment var to:</p> <pre><code>export DEVELOPER_DIR=/Applications/XCode.app/Contents/Developer </code></pre> <p>4) Finally, I ran this beast of a command:</p> <pre><code>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash -v MyApp.crash /Users/me/Library/Developer/Xcode/Archives/2013-05-31/MyApp\ 5-31-13\ 7.00\ PM.xcarchive/Products/Applications/MyApp.app </code></pre> <p>Note that the path to symbolicatecrash changes in newer versions of XCode, to:</p> <pre><code> /Applications/Xcode6.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash </code></pre> <p>This command run symbolicatecrash against your archive using the .crash file you have</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload