Unresolved identifier on Archiving Build

i have a problem where i want to archive my build to upload to itunesConnect. However after implementing admob and Analytics, i get numerous (19) errors all saying:

Use of unresolved identifier 'Gai'
Use of unresolved identifier 'kGaiScreenName'
Use of unresolved identifier 'GAIDictionaryBuilder'


etc..

I have a header file ( which i cannot target a membership for):

//PayDay!-bridging-header.h
#ifndef Payday__Bridging_Header_H
#define PayDay__Bridging_Header_H
#import <Google/Analytics.h>

#endif / PayDay__Bridging_Header_h */


Building it on xCode for simulator and on device;s work. it just gives me errors on building when selecitng ' Generic iOs device'.


The framework Google/Analyics is installed through Pods:

source 'https://github.com/CocoaPods/Sp
platform :ios, '7.0'
pod 'Google-Mobile-Ads-SDK', '~> 7.0'
pod 'Google/Analytics'


In terminal in the same place as PayDay!.xcodeproj i run:

pod install


the navigator is as follows:
http://i.stack.imgur.com/O7w8z.png


The errors are as this (In navigator):

http://i.stack.imgur.com/85vrW.png


xCode version: 7.2.1 (7C1002)


How can i fix this?

Unresolved identifier on Archiving Build
 
 
Q