I was playing around with Facebook SDK with react-native generated ios app template. I was following the instructions here: https://developers.facebook.com/docs/ios/getting-started but somehow did not see Framework Search Paths mentioned in step 4.5. the react-native generated ios project seems to only have header search path, as shown below.
I was using latest Xcode version (9.3)
Try upgrading project templates - Upgrade guide
Or try to use RN wrappers available on the internet.
I personally like these two - this and this
Good luck!
You need to change Basic to All tab at the top of the menu
No need of upgrading anything
Related
I tried to integrate NMSSh into an iOS-App (Xcode 12.2) and followed these instructions, which is in line with what I found in this forum too.
Unfortunately I can't create the framework file as described. I selected my iPhone as device as recommended in posts within this forum. This is how it looks like:
Has anyone an idea how I have to proceed?
Thanks so much for your support.
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.
I'm new to using Facebook & ios development, so I apologize if this is a really stupid question:
Aren't libraries used in iOS development usually in the form of .framework? Why are FBSDK libraries from Cocoapods just a directory full of .h's and .m's? Is there a way for me to convert them into a framework?
I'm using something called the Intel Multi-OS-Engine to enable iOS development using Java, and for it to generate bindings to third-party libraries, they must be in the form of .framework...
Thanks so much!
You can download latest from here
For more information look at quickstart
guide https://developers.facebook.com/docs/facebook-login/ios
I am in the need of older version of Google Mobile Ads SDK iOS may be 7.7.0 or older. Please share if anyone has it. I need to work on Xcode 6.3.2 and iOS 8.3. but latest version needs iOS 9 or later.
Thanks.
In case anyone is looking for the answer to this question, as I was today... Here is a solution that incorporates Nika's fine answer and gives you a standalone solution for closed-source frameworks like these.
The Cocoapods specs need to be public and if you go to where those specs are published, in this case: https://github.com/CocoaPods/Specs/tree/master/Specs/5/9/a/Google-Mobile-Ads-SDK
You'll find a list of all the versions of Google Mobile Ads published via Cocoapods.
Each spec contains a download link, so the spec for version 7.59.0 of the SDK / framework shows that link to be https://dl.google.com/dl/cpdc/de07064cf20bb7a6/Google-Mobile-Ads-SDK-7.59.0.tar.gz
You can solve your problem yourself mate:
Step 1: learn cocoapods. Cocoapods are used to integrate 3rd party libraries. It usually stores many many versions of the same libraries. There are plenty of tutorials on this under 10 minutes on youtube.
Step 2: import the version of google mobile ads library you need like this pod 'GoogleMobileAds', '~> 7.7'
I am new baby to Xcode, was trying to learn twitter integration, downloaded sample twitter source code from sample code, but when i tried to run it, it says that there is no twitter framework, and when I try to add from 'Link Binary with Libraries' there is no twitter framework!!
I am using Xcode 4.2 with ios 5.
Is it possible to manually import twitter framework into my Xcode??
Please help me.
Forget about the "Twitter.framework" from now on.
Apple has switched to "Social.framework" which was delivered with OS X 10.8 (Mountain Lion) today.
This means "Twitter.framework" is deprecated now. It's very likely that "Twitter.framework" will be replaced by "Social.framework" in iOS 6, too.
All accounts are managed by "Accounts.framework" which is available on iOS 5 AND "Mountain Lion". If you need to implement "Twitter.framework" for iOS 5, keep this in mind to write "universal code".
It is easy to add the Twitter framework for an iOS 5 project. Please follow the instructions at https://dev.twitter.com/docs/ios/how-add-twitter-framework-your-ios-project
TwitterKit provides wrappers for accessing the Twitter REST API.
Get Fabric from here this will provide you wizard to add all appropriate frameworks for twitter.
https://get.fabric.io/