Google AdMob error in iOS 7 - ios

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>

Related

App can't import bridging header and find Google/Analytics.h when running in Release Configuration

So I'm trying to set up the debug/release configurations in the app I'm working on. When trying to test the Release configuration, the app won't build. Says: Can't import bridging header and 'Google/Analytics.h' file not found. But this is only when running in release.
Any ideas on what could be the problem?
Another option you could try replacing the header with these lines:
#import <GoogleAnalytics/GAI.h>
#import <GoogleAnalytics/GAIDictionaryBuilder.h>
#import <GoogleAnalytics/GAIFields.h>
Found it from their reference sample app: Google Analytics iOS Quickstart app

Firebase bridging header not working

I'm building a Firebase app in swift, I installed the cocoa pod correctly then created an Objective-C file so it would make me a bridging header. When I try to import Firebase elsewhere in the app it says no such module found. I tried to build anyway because sometimes the error will go away but it failed.
Should I do something with my build settings? I've created bridging headers before and never had too (I thought Xcode did that automatically). I'm using version 7.2.1 (the latest) by the way.
Thanks for the help!
#ifndef FirebaseNetwork_Bridging_Header_h
#define FirebaseNetwork_Bridging_Header_h
#import <Firebase/Firebase.h>
#endif
The documentation from firebase says to use import Firebase when in swift. This however causes errors at compile time. After adding the bridging header and importing Firebase.h inside of it, you will be able to access the Firebase api in your swift files.
Make sure to insert the following line in your Podfile:
use_frameworks!
Then open the .xcworkspace file. Clean the build. Compile it.

IOS error when I use Facebook SDK

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.

Google Admob integration 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;

Use of unresolved identifier PFFacebookUtils

I've done all is mentioned here (https://www.parse.com/docs/ios_guide#fbusers/iOS) for implement in iOS the Facebook Login.
The problem is that i have an compile error "Use of unresolved identifier PFFacebookUtils"
near che line
PFFacebookUtils.initializeFacebook()
in AppDelegate. I've correctly imported the Parse and Facebook Framework into my project.
Are there some bug knowed in Xcode 6 Beta?
Parse docs doesn't mention this yet: After downloading the Parse iOS SDK, You should include the ParseFacebookUtils.framework into your project, then import it in each file you want to use it, like you did for the Parse.framework itself:
#import <Parse/Parse.h>// This use to be enough to use Facebook utilities
#import <ParseFacebookUtils/PFFacebookUtils.h>// But now we should import this framework as well to use Facebook utilitis
Parse team has separated the Facebook related classes from Parse API, hence a ParseFacebookUtils.framework
You may need to
import ParseFacebookUtils
in your AppDelegate
If you want to use PFFacebookUtils or/and PFLogInViewController with swift, you have to do this:
For not V4 version:
#import <ParseFacebookUtils/PFFacebookUtils.h>in bridging header and then import ParseFacebookUtils in swift file. And call PFFacebookUtils.initializeFacebook() somewhere, of course best place for this is application didFinishLaunchingWithOptions.
For V4 version:
#import <ParseFacebookUtilsV4/PFFacebookUtils.h> in bridging header and import ParseFacebookUtilsV4 in swift file. And call PFFacebookUtils.initializeFacebookWithApplicationLaunchOptions(launchOptions) in application didFinishLaunchingWithOptions.
Of course you should have set your bridging header correctly and import frameworks.
Resolved! #import in bridging header
After the update to Parse/FacebookUtils, to import you do #import <Parse/PFFacebookUtils.h>

Resources