Can't build AdMob iOS SDK v.7.3.1

219 views
Skip to first unread message

brian....@glu.com

unread,
Jun 4, 2015, 2:11:28 PM6/4/15
to google-adm...@googlegroups.com
Hi,

I got this error while building AdMob iOS SDK v. 7.3.1:
GADBannerView.h:
GoogleMobileAds/GADAdSize.h - file not found

It seems that import must be

#import "GADAdSize.h"

because GADAdSize.h is near the GADBannerView.h in GoogleMobileAds.framework

brian....@glu.com

unread,
Jun 4, 2015, 2:14:03 PM6/4/15
to google-adm...@googlegroups.com
XCode 6.3.2

Elton Kent

unread,
Jun 4, 2015, 5:39:15 PM6/4/15
to google-adm...@googlegroups.com, brian....@glu.com
Hello Brian,
Thanks for reaching out. This looks like an issue with the linking of the Mobile Ads SDK in your project. I would suggest using CocoaPods as it's the recommended approach to integrating the SDK. CocoaPods manages dependencies and also makes it easy to upgrade to the latest SDK version. You can find more information regarding using CocoaPods to integrate the SDK here.

Thanks,
Elton

brian....@glu.com

unread,
Jun 11, 2015, 7:09:49 AM6/11/15
to google-adm...@googlegroups.com


Unfortunately, we can't use CocoaPods due to our automatic build system.
Can you provide us with project settings needed?

 
On Thursday, June 4, 2015 at 9:11:28 PM UTC+3, brian....@glu.com wrote:

Elton Kent

unread,
Jun 11, 2015, 5:11:47 PM6/11/15
to google-adm...@googlegroups.com, brian....@glu.com
Hi Brian,
I see. In that case, you could manually include the SDK in your project.

Thanks,
Elton
Reply all
Reply to author
Forward
0 new messages