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][tid:com.facebook.react.JavaScript]
Warning: Native component for "RCTFBLoginButton" does not exist 2016-06-21 22:27:38.899 [warn][tid:com.facebook.react.JavaScript]
Warning: Native component for "RCTFBSendButton" does not exist 2016-06-21 22:27:38.900 [warn][tid:com.facebook.react.JavaScript]
Warning: Native component for "RCTFBShareButton" does not exist
To solve this I went through this pod method - https://github.com/facebook/react-native-fbsdk/issues/126
Now, when I run pod install
command, I am getting this error -
No podspec found for react-native-fbsdkcore in ../node_modules/react-native-fbsdk/iOS/RCTFBSDK/core".
Can anybody tall what is wrong here ?
This is my pod file -
platform :ios, ‘7.0’
use_frameworks!
xcodeproj ‘/Users/ais/Netizen/ios/Netizen.xcodeproj’
target ’Netizen’ do
source ‘https://github.com/CocoaPods/Specs.git’
pod 'React', :subspecs => ['Core', 'RCTImage', 'RCTNetwork', 'RCTText', 'RCTWebSocket'], :path => '/Users/ais/Netizen/node_modules/react-native'
pod 'react-native-fbsdkcore', :path => ‘../node_modules/react-native- fbsdk/iOS/RCTFBSDK/core’
pod 'react-native-fbsdklogin', :path => '../node_modules/react-native-fbsdk/iOS/RCTFBSDK/login’
pod 'react-native-fbsdkshare', :path => '../node_modules/react-native-fbsdk/iOS/RCTFBSDK/share’
end
target ‘NetizenTests' do
end