NativeScript / nativescript-facebook

NativeScript plugin, wrapper of native Facebook SDK for Android and iOS
Apache License 2.0
79 stars 50 forks source link

Cannot build in ios #179

Closed preethijayanthi closed 5 years ago

preethijayanthi commented 5 years ago

When I am building my app in IOS, It is showing the following errors, /platforms/ios/Pods/FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKShareDialog.m:502:9: error: unknown type name 'FBSDKBridgeAPICallbackBlock'; did you mean 'FBSDKBridgeAPIResponseBlock'?

/platforms/ios/Pods/FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKShareDialog.m:513:52: error: no visible @interface for 'FBSDKApplicationDelegate' declares the selector 'openBridgeAPIRequest:useSafariViewController:fromViewController:completionBlock:'

I have also updated the pod files but the error remains the same.

DimitarTodorov commented 5 years ago

Hello, @preethijayanthi

Can you share exact steps to reproduce the issue that you are describing. I've tested all our demos in the repo and they work fine. Can you share more details like iOS version, tns version and what kind of application you are running (Typescript/Angular/Vue-js).

preethijayanthi commented 5 years ago

I am running in angular. I am running through the command tns run ios . while building xcode, I am receiving issue. I am using tns verion - 5.0.0.

DimitarTodorov commented 5 years ago

Hi @preethijayanthi,

You can try updating the tns to 5.3.0(latest official version) and update your pod repos if needed with the command pod repo update. Then clean your app - remove the ./node_modules and ./platforms folders and try to build the app again. If the issue persist, please send us an example where we can reproduce it.