I have added FacebookSDK.framework into my project,
#import <FacebookSDK/FacebookSDK.h>
but I get this error:
Use of undeclared identifier 'FBAppCall'
I am working about function LoginFB, please help me.
Please check all below points -
Select Project and goto Build phase -> Link binary with Libraries and select FacebookSDK.framework
Goto your viewcontroller and import - #import and #import
Please delete existing added FacebookSDK.framework before doing the above step.
please use latest Facebook sdk.
https://github.com/facebook/facebook-ios-sdk
it will work fine with me.
Related
Xcode version 8.2.1
I can't run my project made in react native (Version 0.41.2). It's always popping me the same error:
Here's a
Screenshot
I've already tried this: onesignal/onesignal.h file not found
https://github.com/geektimecoil/react-native-onesignal/issues/127
I'm trying to add push notifications with onesignal on IOS, hope you can tell me what's the issue here.
try to change #import "RCTOneSignal.h" with #import <RCTOneSignal.h>
Please add the following to your target Header Search Paths under Build Settings on your XCode workspace:
$(SRCROOT)/../node_modules/react-native-onesignal/ios/RCTOneSignal
also make sure libRCTOneSignal.a present in Link library with banary if not drag it from RCTonesignal.xcodeproj
you can take reference from below link
https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking
I am trying to add the Facebook SDK to my iOS 9.0 Swift app in Xcode. I did the install according to the FB-dev instructions. However, when I add the header to my AppDelegate.m file import FBSDKCoreKit I keep getting a message saying "No such module 'FBSDKCoreKit'" error .
Based on what I read elsewhere
I have already cleaned the build and re-installed Xcode and updated
my OS X
I have double checked the plist and the framework files FB lists in
the instructions, but nothing has seemed missing.
I have set the "Allow Non-modular Includes in Framework modules"
setting to YES in Build settings.
Nothing seems to work. I do not know where to go from here and have done hours of research trying to find the solution.
When you are importing the frameworks, Make sure you have selected "Copy if needed" . Version after Xcode 6.3 seem to be giving issues if this part is NOT ticked.
I solved this by deleting the Framework and adding it again by right click on the project->Add files..., then choose the framework and SELECT the option to Copy files if needed. It's not what Facebook recommends, but it worked!
I'm using v4.6 of FBSDK and Xcode 7 beta 6.
Hope it helps you and everyone else who's facing the same problem :)
With CocoaPods, swift 2.1, and iOS 9, I tried adding it to the bridge header and it works fine, for example:
#ifndef MY_Bridge_Header_h
#define MY_Bridge_Header_h
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <FBSDKLoginKit/FBSDKLoginKit.h>
// ... other imports
#endif /* MY_Bridge_Header_h */
I had errors following alongside the AppCoda tutorial which is not fully up to date. I recommend following Facebooks own instructions. The issue for me was that I had to add the frameworks to my project and then add sdk search path. After that I could import without an error.
i use the latest version of SDK for iphone integration but it give me this error.
Remove the AdMob Framework from your project, clean your project, and import the AdMob Framework again.
and Download the Framework here enter link description here
#import <GoogleMobileAds/GADBannerView.h>
#import <GoogleMobileAds/GADRequest.h>
As it's now a Framework. You have to include it like this : #import GoogleMobileAds;
I've integrated AdMob in my iOS project but it gives me the following error.
module 'GoogleMobileAds' not found
I have already imported the AdMob SDK into my project and added the following import.
#import GoogleMobileAds;
In the Build Settings of you project set the Define Modules to YES. Then, remove the AdMob Framework from your project, clean your project, and import the AdMob Framework again.
Change the import calls:
#import GoogleMobileAds
to this
#import <GoogleMobileAds/GoogleMobileAds.h>
In my case:
Deployment target: 5.1
xcode version: 4.6.3
I have added MapKit Framework then in the class having viewController i imported the file #import "mkmapview"
outlet delegates has been properly connect.
but still it's giving error "mkmapview on ios versions prior to 3.0 "
can anyone suggest the solution of this issue?
Thanks in advance.
First you need to add the MapKit.framework to you project. To add a framework click on your project, then select the correct target and to o the Build Phases tab.
Here you will find the Linked Binary With Libraries section, Expand it and add the MapKit.framework with + button in the left corner.
Then you import the correct library: #import <MapKit/MapKit.h>