简体   繁体   中英

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!

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM