Have crash report, dsym file but not the ipa / xarchive: How to symbolicate the crash log?
<p>I have done a TestFlight build yesterday and switched from one Mac to another location. </p>

<p>Today I see, that there are crashes in the Crash Organizer but they are not symbolicated. </p>

<p>I have the dSym file from the build in TestFlight downloaded, I have the source code for that build (some fixes have been applied since yesterday, but having a class and line will still be very helpful) - but I do not have the actual build on the Mac in the office here. </p>

<p>How can I apply the symbols to the crashlog?</p>

<p>UPDATE: I tried calling <code>symbolicatecrash</code> directly, but it is not reachable in the path. I had to call it with the full path set </p>

<pre><code>imac:Contents thst$ pwd
/Applications/Xcode.app/Contents
imac:Contents thst$ ./SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash ...
</code></pre>

<p>Then it complained about <code>DEVELOPER_DIR</code> not set, so I set it to </p>

<pre><code>export DEVELOPER_DIR=`xcode-select -p`
</code></pre>

<p>This made it start at least, but now I get errors like this:</p>

<pre><code>xcodebuild: error: SDK "ipados" cannot be located.
xcrun: error: unable to find utility "otool", not a developer tool or in PATH
## Warning: can't find tool named 'otool' in the ipados SDK, falling back to searching the iOS SDK
xcodebuild: error: SDK "ipados" cannot be located.
xcrun: error: unable to find utility "atos", not a developer tool or in PATH
## Warning: can't find tool named 'atos' in the ipados SDK, falling back to searching the iOS SDK
xcodebuild: error: SDK "ipados" cannot be located.
xcrun: error: unable to find utility "lipo", not a developer tool or in PATH
## Warning: can't find tool named 'lipo' in the ipados SDK, falling back to searching the iOS SDK
xcodebuild: error: SDK "ipados" cannot be located.
xcrun: error: unable to find utility "size", not a developer tool or in PATH
## Warning: can't find tool named 'size' in the ipados SDK, falling back to searching the iOS SDK
## Warning: Unable to symbolicate from required binary: /Users/thst/Library/Developer/Xcode/iOS DeviceSupport/8.4 (12H143)/Symbols/System/Library/Frameworks/CoreMotion.framework/CoreMotion
Incident Identifier: B2F71703-1CE2-4CDE-A6A8-3C51FDE9DBFF
Beta Identifier:     DD46FE78-8872-4DF1-BF83-58796766B994
Hardware Model:      iPad2,2
</code></pre>

<p>calling <code>otool</code> on the commandline works:</p>

<pre><code>imac:Contents thst$ otool
Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool [-arch arch_type] [-fahlLDtdorSTMRIHGvVcXmqQjCP] [-mcpu=arg] [--version] &lt;object file&gt; ...
    -f print the fat headers
    -a print the archive header
    ...
</code></pre>

<p>So it is on the path actually.</p>