Ted
Ted

Reputation: 23746

How to update Fabric & Crashlytics?

I installed Fabric and crashlytics framework using fabric app and not cocoapods. I needed to update it to comply with this error and for the future.

/Crashlytics.framework/Crashlytics(CrashlyticsPlaceholderStatic.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64

and I've read that the update will fix the issue.

Thanks!

Upvotes: 2

Views: 3209

Answers (4)

petesalt
petesalt

Reputation: 356

I solved this problem this way:

  1. Build settings -> Build Options -> Enable Bit = NO
  2. Build app
  3. Fabric notifies that I have to update Crashlytics framework, so I have built app to update framework
  4. Build settings -> Build Options -> Enable Bit = YES

And everything works fine now.

Upvotes: 1

Protongun
Protongun

Reputation: 3260

To add to the other solutions:

Fabric was not recognizing that my project had an outdated Crashlytics version. It listed my "Installed" version as 3.3.4 when infact it was v3.0.x.

I clicked "Install" on Crashlytics and was prompted to rebuild project. But the project rebuild was failing due to the Bitcode being enabled and my Crashlytics.framework version being outdated.

I disabled Bitcode, and successfully built, at which point Fabric updated my Crashlytics. THereafter, I was able to turn Bitcode back on and continue to build successfully with Crashlytics v3.3.4

Upvotes: 1

Mike Bonnell
Mike Bonnell

Reputation: 16239

Mike from Crashlytics and Fabric here.

If you updated to Crashlytics 3.3.1 and Fabric 1.5.1, then those frameworks support Bitcode enabled app. Release notes here.

Upvotes: 3

Suresh Kumar Durairaj
Suresh Kumar Durairaj

Reputation: 2126

Go to Build Settings(target's), find the

'Enable Bitcode' key under 'Build options'

Set it's value to NO.

REASON: iOS9 has this option from Xcode 7, By default it is set as YES(I guess). Since, third party frameworks like Crashlytics doesn't updated for bitcode enabled mode. So, set it NO.

Upvotes: 1

Related Questions