React Native fbsdk in iOS

后端 未结 3 2013
失恋的感觉
失恋的感觉 2021-01-14 23:55

When I added fbsdk in my project, I got errors like -

Warning: Native component for \"RCTFBLikeView\" does not exist 2016-06-21 22:27:38.898 [warn][

3条回答
  •  孤城傲影
    2021-01-15 00:29

    I was struggling with this recently and what I found to work is that, after running react-native install react-native-fbsdk you still need to run react-native link react-native-fbsdk.

    The libRCTFBSDK.a will then appear under Link Binary with Libraries in Xcode but (I think) needs to be removed and then re-added by clicking the - and + buttons at the bottom.

提交回复
热议问题