Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing iOS Facebook SDK without using CocoaPod

I'm following this official documentation to install FB SDK and trying to integrate it with my React Native project: https://developers.facebook.com/docs/ios/getting-started/ , so that I can show a Facebook share dialog in my app.

However, one of the steps requires to use CocoaPod to get the libraries. My React Native project doesn't work well with CocoaPod, I want to avoid it as much as possible. Is there a way to install the libraries manually without using CocoaPods?

Much appreciated if you can point me to some documentation or tutorials. Thanks!

like image 486
Allan Jiang Avatar asked Mar 06 '26 02:03

Allan Jiang


1 Answers

You can download the entire iOS SDK (outside of Cocoapods) by going to bottom of this page:

https://developers.facebook.com/docs/ios/componentsdks

There also seems to be a Reactive Native-focused tutorial found here, where it looks like you can use npm install and react-native link.

like image 83
Michael Dautermann Avatar answered Mar 08 '26 15:03

Michael Dautermann