Admob SDK - iOS -File not found

前端 未结 4 919
星月不相逢
星月不相逢 2020-12-06 02:07

I have installed Google Analytics and Google AdMob SDK in my iOS project using Cocoapods. I have implemented both the functionalities in my app and everything looked okay fo

相关标签:
4条回答
  • 2020-12-06 02:28

    Go to: --> Build Settings --> Apple LLVM 7.1 - Language - Modules --> Enable Modules (C and Objective-C) --> set it to Yes.

    0 讨论(0)
  • 2020-12-06 02:33

    According to the Google Ads Developer Blog we need to use:

    @import GoogleMobileAds;

    If you have a problem with the @import syntax you need to modify your project build settings. Search for Modules and set Enable Modules to YES.

    0 讨论(0)
  • 2020-12-06 02:52

    First one is issue of latest SDK will not be used for Admob. second is issue of Xcode 7.0 and you can try in Xcode xcode below 7 for till date,

    0 讨论(0)
  • 2020-12-06 02:54

    Starting at AdMob 7.0, AdMob has made the SDK a framework. Import it like so:

    #import <GoogleMobileAds/GoogleMobileAds.h>
    
    0 讨论(0)
提交回复
热议问题