Added Fabric/Crashlytics to new project but doesn&

2019-04-03 07:38发布

问题:

I've just created a new iOS Swift project, using Xcode 7 beta-4, and have integrated Crashlytics (part of Fabric now) with the usual process.

It integrated all fine, and I can simulate crashes etc.

However when I go to the Crashlytics dashboard it warns me that:

Missing dSYM

We're missing a dSYM to process crashes, upload it here!

And none of the crashes show up.

Clicking the warning message (it's link is mentioned here: http://docs.fabric.io/ios/crashlytics/crashlytics.html#troubleshooting) gives me a list UUIDs Crashlytics is missing dSYMs for.

The page gives the option to upload a dSYM, which I have tried doing (getting it from /Users/me/Library/Developer/Xcode/DerivedData/MyApp-xxxxxxxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Debug-iphoneos). However after doing so this does not resolve the issue.

I've tried getting the frameworks from CocoaPods instead of manually adding them, in case that made a difference. It didn't.

-

So my only thought is perhaps Crashlytics doesn't handle dSYMs produced by Xcode 7 beta? Or is there something fundamental I've overlooked?

Many thanks for your help!

-

UPDATE:

After many back and forth emails with the Crashlytics team, this particular problem was discovered by them to be caused by changes made in one the beta Xcode 7 versions. A fix to Crashlytics was pushed out and since then it worked.

If you're experiencing similar issues, I suggest first ensuring you're using a release version of Xcode, and also the latest version of Crashlytics :)

回答1:

Go to Build settings and choose Dwarf with DYSM File option for both debug and release builds.



回答2:

You haven't uploaded dsym ..You can get dsym file from:

Goto https://itunesconnect.apple.com> SignUp> MyApps> Activity> Then select the version of App for which the Missing dsym error is showing and download the dsym file from there...

upload it to fabric

Hope so your issue is resolved..