$cordovaFacebook FAILED BUILD Xcode

hi, I would like to use the $cordovaFacebook plugin but I can’t because it breaks when I try to build my app through Xcode.

i think that it comes from the phonegap-facebook-plugin , can someone explain me how to install it ?

Best regards ,

here is the error message from Xcode :
> App/Plugins/phonegap-facebook-plugin/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)

1 Like

I also face the same problem, there is a way to keep authenticating by changing the Enable Bitcode flag to ‘No’ in the build options, but it will make the app open a browser when doing the authentication.

Any helps appreciated.