React-native-fbsdk: podspecs removed?

Created on 7 Jun 2016  路  5Comments  路  Source: facebook/react-native-fbsdk

Any reason why the .podspec files were removed with version 0.2.0 in this commit?

Most helpful comment

@dzhuowen any wiliness to bring podspec back? kinda sucks that now we have to add the sdk, especially when you have multiple developers, you just can't drop the files in xcode, you have to copy them which adds up to the github repo... On top of that, now we end up with a mix of pods and frameworks

All 5 comments

My build fails because of this. Could anybody please explain what to do?

So what to do? I get error:
'FBSDKCoreKit/FBSDKCoreKit.h' file not found

Installation introduction says Along with FBSDKCoreKit.framework, don't forget to import FBSDKShareKit.framework and FBSDKLoginKit.framework into your Xcode project. But where are those files? I can not find them in node_modules.

Edit: Ok I figured it out. I have to install FacebookSDK manually.

@dzhuowen any wiliness to bring podspec back? kinda sucks that now we have to add the sdk, especially when you have multiple developers, you just can't drop the files in xcode, you have to copy them which adds up to the github repo... On top of that, now we end up with a mix of pods and frameworks

I'd also vote for maintaining the podspec as an option. React Native core maintains a podspec and I think it's worthwhile to adopt since there are other libraries that need to include native code:
https://github.com/BranchMetrics/react-native-branch-deep-linking/blob/master/react-native-branch.podspec
https://github.com/cmcewen/react-native-gcm-ios/blob/master/react-native-gcm-ios.podspec

It's a pain to set up for sure, but I think it's worthwhile once you do it. I just point people to this article: https://blog.callstack.io/login-users-with-facebook-in-react-native-4b230b847899#.1x5p29tmq

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chirag04 picture chirag04  路  4Comments

notlose picture notlose  路  5Comments

akash-rajput picture akash-rajput  路  4Comments

nlindeke picture nlindeke  路  5Comments

vladotg picture vladotg  路  5Comments