xcode - Module 'GoogleMobileAds' not found in iOS -


came across topic similar problem, unable solve it.

integrated admob ads in unity app ios , loaded project in xcode. added framework googlemobileads dragging project window. unfortunately when build project error displayed.

i tryed replace googlemobileads.h on #import <googlemobileads/googlemobileads.h> in gadunativecustomtemplatead.h not me.

used google mobile ads unity plugin v3.0.4 xcode v. 7.3.1 error: umbrella header googlemobileads h not found 1 img 2 img

i found solution in video https://www.youtube.com/watch?v=rxo_rcmxgu4, here summary:

  1. download googlemobileadssdkios.zip https://firebase.google.com/docs/admob/ios/download

  2. unzip file. go project navigator view. move unzip file inside framework folder.

  3. build code, if doesn't work substitute string gives error with

    • (void)loadrequest:(gadrequest *)request withadunitid:(nsstring *)adunitid userid:(nsstring *)userid {

[self.rewardbasedvideo loadrequest:request withadunitid:adunitid]; }


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -