Anyone else having trouble with bitcode?

1,445 views
Skip to first unread message

Sean Dougherty

unread,
Sep 15, 2015, 2:10:59 PM9/15/15
to Firebase Google Group
We have not been able to get rid of a linking error, complaining that firebase cannot be linked, because it was not compiled with the ENABLE_BITCODE setting:

ld: '.../Pods/Firebase/Firebase.framework/Firebase(Firebase.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

clang: error: linker command failed with exit code 1 (use -v to see invocation)


We have searched high and low, but it looks like no one else is seeing this error, so maybe it's something on OUR project, but nothing looks likely, and with other frameworks where we saw this error, we were able to fix it by updating to a newer version (many libraries seem to be updating to support bitcode).

Are we the only ones?  Known issue?

Thanks!

François Perret

unread,
Sep 16, 2015, 2:10:40 AM9/16/15
to Firebase Google Group
Hello Sean,
Same problem here, apparently since Xcode 7 update.
I was able to have linkage work again changing Build Settings -> Enable Bitcode to NO.
This doesn't appear as a good solution though, since Apple seems to want to generalize Bitcode.
We must wait for our favorite vendors to deliver bitcode compiled .o (or maybe the sources, just kidding).
F.

Jonny Dimond

unread,
Sep 16, 2015, 2:53:43 PM9/16/15
to Firebase Google Group
Hi all,

Jonny from the Firebase team here. We're working on enabling Bitcode for our builds. Until then, please use the suggestion François provided:
Build Settings -> Enable Bitcode to NO.
This is obviously just a workaround for now, so hang tight until we can ship something with Bitcode.

Jonny

Sanjay Mallik

unread,
Feb 10, 2016, 9:18:26 PM2/10/16
to Firebase Google Group
Jonny
Any ETA for this one yet? 
thanks
Sanjay

Frank van Puffelen

unread,
Feb 10, 2016, 9:24:36 PM2/10/16
to Firebase Google Group
Bitcode support was introduced in version 2.4 of the Firebase SDK for iOS. We shipped this on September 24, 2015.

    Frank
Reply all
Reply to author
Forward
0 new messages