Error after updating to Xcode 7

Hi ! I received very strange error that broke my whole build.

‘myapp/Plugins/com.phonegap.plugins.facebookconnect/FacebookSDK.framework/FacebookSDK(FBLikeButtonBackgroundSelectedPNG.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)

That happen after upgrading to the new Xcode version 7.0 .

Known issue with the Facebook Plugin. There is an open ticket @ you can follow. I’ve just hit this as well.

Alright, thanks :wink:

So, a workaround in X-Code is:

Project > Build Settings > Build Options > Enable Bitcode = No

To first link noted seems to work on the FB side, but as you may too, I have Google Plus also doing it’s thing.

And there are two tickets for Google incase you hit that too, but the workaround appears to solve both.

1 Like

If I disable Bitcode, then the plugin opens Facebook in browser instead of the App :frowning:

Once you’ve updated FB make to update your plist file, there’s a long thread going on @ with more details :slight_smile:

Were you able to solve it?


Google just released the new SDK for ios, 3.14. I updated the plugin from daniel wilson and asked for a pull.

In the meantime you can get it here :

EDIT : Important, you need Xcode 7 for building the app.