"module 'GoogleMobileAds' not found" when using Google-Mobile-Ads-SDK v7.9.0 and CocoaPods

649 views
Skip to first unread message

Chris Goldsby

unread,
Jul 20, 2016, 5:19:30 PM7/20/16
to Google Mobile Ads SDK Developers

I'm getting a "module 'GoogleMobileAds' not found" compile error when installing the GoogleAds-IMA-iOS-SDK-For-AdMob using CocoaPods.


The PodSpec for GoogleAds-IMA-iOS-SDK-For-AdMob has a dependency on Google-Mobile-Ads-SDK. It looks like v7.9.0 Google-Mobile-Ads-SDK has wrong "vendored_frameworks" path. (If you download the tar you'll also notice that the path for "Frameworks/frameworks/GoogleMobileAds.framework" does not exist). If I revert back to v7.8.1 Google-Mobile-Ads-SDK, I no longer get the module not found error.


7.9.0/Google-Mobile-Ads-SDK.podspec.json#L19 (Does not work)

7.8.1/Google-Mobile-Ads-SDK.podspec.json#L16 (Works)


----


CocoaPods version: 1.0.1

Podfilepod 'GoogleAds-IMA-iOS-SDK-For-AdMob', '~> 3.2.1'


----


In the following screen shot, you'll notice that the Google-Mobile-Ads-SDK folder is missing Frameworks/GoogleMobileAds.framework.



Vu Chau (Mobile Ads SDK Team)

unread,
Jul 21, 2016, 9:26:24 AM7/21/16
to Google Mobile Ads SDK Developers
Hi Chris,

Would you mind trying (starting a new project, clearing any remaining cache, reinstalling the pod, recompiling, et al.) again? I tried with v7.9.0 and did not see any issue.

Thanks,

Vu Chau
Mobile Ads SDK Team

Chris Goldsby

unread,
Jul 21, 2016, 10:48:59 AM7/21/16
to Google Mobile Ads SDK Developers
Hi Vu, looks like things are working for me! GoogleAds-IMA-iOS-SDK-For-AdMob download v7.9.1 of the Google-Mobile-Ads-SDK

Thanks for the help and looking into this,
Chris
Reply all
Reply to author
Forward
0 new messages