issue with uploading dSYM to crashlytics

BaSha picture BaSha · Mar 27, 2015 · Viewed 15.4k times · Source

To upload dSYM to crashlytics, I have following setup but not able to get dSYM uploaded.

In my target -> build phases -> Run Script

./Fabric.framework/run KEY SECRET

 echo "working"

./Crashlytics.framework/run KEY SECRET

In Report navigator

2015-03-27 11:45:32.868 run[12108:507] Fabric.framework/run 1.3.13
working
2015-03-27 11:45:36.000 run[12109:507] Crashlytics.framework/run 1.3.13

In my app fabric.io dashboard

Missing dSYM

What i'm missing?

Answer

xaphod picture xaphod · Sep 9, 2016

If you have bitcode on because you want app-thinning or a TVOS or WatchOS app, then the dSYMs you create when you generate the xcarchive are NOT the dSYMs required. This is because apple re-compiles from the bitcode. To get the real dSYMs, go to itunesconnect, open up the specific (processed) build, and hit the "Download dSYMs" link. Apparently fastlane can automate this process (I have not tried it): https://krausefx.com/blog/download-dsym-symbolication-files-from-itunes-connect-for-bitcode-ios-apps