Facebook login iOS (native)


#1

Hi,

We are having some problems with the Facebook authentication. Is there somebody who has succesfully realized the login with the native Facebook app?

If so, i hope you can help us out! Thank you in advanced.


#2

I was dealing with the same issue! Luckily I was able to get it all sorted out. Try this :

  1. Update your Facebook plugin using [cordova-plugin-facebook4] (https://github.com/jamielob/cordova-plugin-facebook4). This is a branch off of [the main Cordova FB plugin] (https://github.com/Wizcorp/phonegap-facebook-plugin/) except he has updated the plugin’s FaceBook SDK to the latest version fixing the broken simlink issue.
  2. The ionic @dwieeb just merged my pull request for the ionic-package-hooks repository, which consists of ionic supported cordova hooks. Follow the READM and you should be set.

Bonus : If you’re still having issues, try opening your xcode project in <PROJECTNAME>/platforms/ios and then [disable Bitcode in your build settings] (http://stackoverflow.com/questions/30848208/new-warnings-in-ios9).


#3

Thanks alot! I hope this will help in our case. When we have time to work on it again, i’ll let you know!


#4

After many, many, many hours struggling with this facebook native login, I did find out that the only solution to work properly was that cordova-plugin-facebook4 that @carsondrake mentionned.

It removes every problems you might have when trying to build your app because of the android support library v4 VS v13.


#5

Thanks for the info @pierro!


#6

Hello @carsondrake
i am tried you give link that is cordova-plugin-facebook4 this will successfully added in my project. After i build my app with ios platform below error are give that is build failed
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAppLinkResolver.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKIcon.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKIcon.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKConstants.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKConstants.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAppEventsUtility.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAppEventsUtility.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKSettings.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKSettings.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKButton.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKButton.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKGraphRequestMetadata.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKGraphRequestMetadata.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKURLConnection.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKURLConnection.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKErrorRecoveryAttempter.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKErrorRecoveryAttempter.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKProfile.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKProfile.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKKeychainStore.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKKeychainStore.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKGraphRequestConnection.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKGraphRequestConnection.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAccessTokenCacheV3.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAccessTokenCacheV3.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAppEvents.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAppEvents.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(_FBSDKTemporaryErrorRecoveryAttempter.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(_FBSDKTemporaryErrorRecoveryAttempter.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKBridgeAPIProtocolNativeV1.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKBridgeAPIProtocolNativeV1.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKWebDialogView.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKWebDialogView.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKErrorConfiguration.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKErrorConfiguration.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKKeychainStoreViaBundleID.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKKeychainStoreViaBundleID.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKServerConfiguration.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKServerConfiguration.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKMaleSilhouetteIcon.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKMaleSilhouetteIcon.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKSendButton.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKSendButton.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeBoxView.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeBoxView.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareButton.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareButton.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareVideo.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareVideo.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKMessageDialog.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKMessageDialog.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeObjectType.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeObjectType.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareLinkContent.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareLinkContent.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKSharePhotoContent.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKSharePhotoContent.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeButtonPopWAV.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeButtonPopWAV.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareDialog.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareDialog.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeDialog.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeDialog.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKCheckmarkIcon.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKCheckmarkIcon.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKGameRequestContent.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKGameRequestContent.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareOpenGraphValueContainer.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareOpenGraphValueContainer.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeActionControllerCache.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeActionControllerCache.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKGameRequestDialog.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKGameRequestDialog.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareConstants.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareConstants.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKMessengerIcon.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKMessengerIcon.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareError.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareError.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareUtility.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareUtility.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppGroupJoinDialog.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppGroupJoinDialog.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareOpenGraphAction.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareOpenGraphAction.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareVideoContent.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareVideoContent.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareAPI.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareAPI.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKVideoUploader.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKVideoUploader.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareDialogMode.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareDialogMode.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeActionController.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeActionController.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppInviteDialog.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppInviteDialog.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeBoxBorderView.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeBoxBorderView.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppGroupAddDialog.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppGroupAddDialog.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareOpenGraphObject.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareOpenGraphObject.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKSharePhoto.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKSharePhoto.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppGroupContent.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppGroupContent.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeControl.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeControl.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKGameRequestFrictionlessRecipientCache.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKGameRequestFrictionlessRecipientCache.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareOpenGraphContent.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKShareOpenGraphContent.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeButton.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeButton.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppInviteContent.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKShareKit.framework/FBSDKShareKit(FBSDKAppInviteContent.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginButton.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginButton.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginCompletion.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginCompletion.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginUtility.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginUtility.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKTooltipView.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKTooltipView.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(_FBSDKLoginRecoveryAttempter.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(_FBSDKLoginRecoveryAttempter.o)
duplicate symbol _llvm.cmdline in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginManagerLogger.o)
duplicate symbol _llvm.embedded.module in:
App/Plugins/cordova-plugin-facebook4/Bolts.framework/Bolts(BFAppLinkTarget.o)
App/Plugins/cordova-plugin-facebook4/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginManagerLogger.o)
ld: 262 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

The following build commands failed:
Ld build/emulator/App.app/App normal i386
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/Desktop/Ionic 2 Demo/App/platforms/ios/cordova/build-debug.xcconfig,-project,App.xcodeproj,ARCHS=i386,-target,App,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/Desktop/Ionic 2 Demo/App/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/Desktop/Ionic 2 Demo/App/platforms/ios/build/sharedpch

How i solve this problem
Please help me
Thank You