iTunes Connect: Missing symbols in dSYMs after uploading symbols with build

Originator:jesse
Number:rdar://31210664 Date Originated:3/22/2017
Status:Duplicate/28503166 Resolved:
Product:iTunes Connect Product Version:N/A
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
We are uploading symbols with our build. iTunes Connect says “Includes Symbols: Yes”. But the resulting dSYMs that we download from iTunes Connect have lots of symbols like ___hidden#9608_.

Steps to Reproduce:
1. Build an app with BitCode enabled.
2. Upload the app to iTunes Connect. We’re using Fastlane, and enabling the parameter for including symbols. This seems to be working, since iTunes Connect shows “Includes Symbols: Yes” under the Build Details.
3. Wait for the build to finish processing, and release it to internal testers on TestFlight.
4. Go to Build Details for the build and click “Download dSYM”.
5. Open the resulting .zip file.
6. Look through the resulting .dSYM files, showing package contents on each, until you find the one containing your main app framework. In the attached sample dSYMs, this is 58C2505D-334B-30FA-8F19-08183E13832C.dSYM.
7. Run `nm 58C2505D-334B-30FA-8F19-08183E13832C.dSYM/Contents/Resources/DWARF/*`.

Expected Results:
All of the app’s symbols appear in the resulting list.

Actual Results:
Aside from a few system framework symbols, the whole list looks like this:

00008d40 t ___hidden#0_
000a5178 t ___hidden#10035_
000a5310 t ___hidden#10038_
000a532c t ___hidden#10040_
000a5384 t ___hidden#10041_
000a53b8 T ___hidden#10045_
000a53d0 T ___hidden#10046_
000a53d8 T ___hidden#10047_

This makes it difficult or impossible to do accurate crash reporting, since we can only really interpret the parts of the stack trace that are in properly symbolicated system frameworks.

Regression:
Unknown.

Notes:
We are building with Xcode 7.3.1 and targeting iOS 9.3.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!