3

TL;DR: I did include symbols when uploading to iTunes Connect. Crash log in Organizer shows hex addresses for my code. Xcode 9.4.

Organizer screen shot

(I know this is an very FAQ, but the discussions I've found address command line tools, obsolete versions of Xcode, or getting logs from a physical device. I'm ready to humbly go to a pre-existing answer if so directed.)

What I did

  • On upload to iTunes Connect, checked (set to true)
    • Include bitcode for iOS content
    • Strip Swift symbols
    • Upload your app's symbols to receive symbolicated reports from Apple

Quote from Apple doc headed "If logs aren't symbolicated":

If you include symbols when you upload your app to iTunes Connect, the service automatically symbolicates the logs. You don’t need the symbols on your Mac. [Emphasis added]

(https://help.apple.com/xcode/mac/current/#/dev5d9904b70)

So I should be OK, right?

  • Opened release version of app project
  • Opened Organizer window
  • Selected Archives tab at top
  • Selected release version Archive
  • Clicked the "Download dSYMs..." button on the Archive Information pane
    • According to above quote this should not be necessary
  • Selected Crashes tab at top
  • Select a Report from the Report Name list at left

At this point (above screen shot) the stack frames from my app code are in hex.

  • Hover the cursor over the hex address
  • Click the gray right-pointing arrow that appears

This opens the document editor, but does not take me to any location in code.

Clicking the "Open in Project..." button has a similar non-effect.

Andrew Duncan
  • 3,553
  • 4
  • 28
  • 55
  • It almost sounds like Xcode is not finding the `dSYMs` — "If Xcode can’t find the dSYM files, the log will not be symbolicated". – l'L'l May 31 '18 at 18:21
  • I was in past facing these sort of issues and started using crashlytics to fix these issues. would suggest you to use crashlytics framework which is available in cocoapods and carthage to keep track of crashes. – Karthick Ramesh May 31 '18 at 19:21

0 Answers0