2
votes

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!

4

4 Answers

3
votes

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.

1
votes

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.

1
votes

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

1
votes

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.