0

When I try with cordova build ios or cordova run ios, the build is success and deploy to simulator. However, when I try to run it in XCode to deploy it to device, the build end up with this error:

ld: '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 armv7

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

If I remove the facebook plugin (https://github.com/Telerik-Verified-Plugins/Facebook), it will build success. How can I fix it?

user1995781
  • 16,821
  • 41
  • 122
  • 221

0 Answers0