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 @ https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1116 you can follow. I’ve just hit this as well.
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.
- https://github.com/danwilson/google-analytics-plugin/issues/136
- https://github.com/danwilson/google-analytics-plugin/issues/148
1 Like
If I disable Bitcode, then the plugin opens Facebook in browser instead of the App
Once you’ve updated FB make to update your plist file, there’s a long thread going on @ https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1116#issuecomment-141778758 with more details
Were you able to solve it?
Thanks
Hi,
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 : https://github.com/tgensol/google-analytics-plugin
EDIT : Important, you need Xcode 7 for building the app.
Best