Module 'GoogleMobileAds' not found in iOS

后端 未结 20 2333
感动是毒
感动是毒 2020-12-09 07:42

I updated Google AdMob SDK to 7.1.0 using Pods.

So in my appDelegate.m, I am trying to add this line

@import GoogleMobileAds;

But I

20条回答
  •  死守一世寂寞
    2020-12-09 08:18

    Xcode Version 7.2.1 (7C1002) Objective C

    I had this problem and had to keep on adding the GoogleMobileAds each time to the project to get rid of this. Not sure if this is a bug. First select the GoogleMobileAds.framework then just untick and tick the Target Membership then try build the error goes away. This worked for me. I hope it helps.

提交回复
热议问题