cordova-plugin-facebook-connect / cordova-plugin-facebook-connect

Use the latest Facebook SDK in your Cordova and Ionic projects
Other
63 stars 90 forks source link

iOS Build failed with exit code 65 #98

Open bhaskar-se opened 2 years ago

bhaskar-se commented 2 years ago

cordova-plugin-facebook-connect/FacebookConnectPlugin.h:13:9: fatal error: 'FBSDKCoreKit/FBSDKCoreKit.h' file not found

import <FBSDKCoreKit/FBSDKCoreKit.h>

    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

Getting above error on logs.

xcodebuild: Command failed with exit code 65 Error: xcodebuild: Command failed with exit code 65

Cordova ios - 6.2.0

noahcooper commented 2 years ago

@bhaskar-se what version of this plugin are you using?

bhaskar-se commented 2 years ago

@noahcooper I'm using v3.2.0, n I guess this is the latest.

"cordova-plugin-facebook-connect": "^3.2.0"

with SDK versions as follows "FACEBOOK_ANDROID_SDK_VERSION": "11.3.0", "FACEBOOK_IOS_SDK_VERSION": "11.1.0", "FACEBOOK_BROWSER_SDK_VERSION": "v11.0"

Mathewkutty commented 2 years ago

@bhaskar-se Did you find the solution? i am stuck there too

bhaskar-se commented 2 years ago

@Mathewkutty No dude! still got no luck.

campagna91 commented 2 years ago

Same problem here :/ In one of our machine (by vscode) build is successfully, but on our remote builder (jenkins) we still have the problem with error 65.

Any news ?

sfrinx commented 2 years ago

I have the same error. how can i solve this problem?

rattios commented 2 years ago

I have the same error.

Add in the Podfile: pod 'FBSDKCoreKit' pod 'FBSDKLoginKit' pod 'FBSDKShareKit'

and I install version 12.3.1 but now it generates the following error:

'init' is unavailable in FBSDKShareDialog

can you help me with this error? please!

Captura de Pantalla 2022-01-25 a la(s) 3 24 46 p  m !

sfrinx commented 2 years ago

After a lot of attempts I succeded ios build. I delete all temp folders (node_modules, platforms, plugins) and i rebuild project. Then i open ios build on xcode: important to open the .workspace file (this is the main problem) and then ios build is ok.

AntoineBouquet commented 2 years ago

I have the same problem, I also reproduce @rattios's problem if I add manually FBSDKCoreKit, FBSDKLoginKit and FBSDKShareKit in Podfile

@sfrinx could you please share your Podfile with version of theses three pod ?

sfrinx commented 2 years ago

I have the same problem, I also reproduce @rattios's problem if I add manually FBSDKCoreKit, FBSDKLoginKit and FBSDKShareKit in Podfile

@sfrinx could you please share your Podfile with version of theses three pod ?

Don't add SDK manually. Remove all temp folders and rebuild project. Then open .workspace file.