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:
download googlemobileadssdkios.zip https://firebase.google.com/docs/admob/ios/download
unzip file. go project navigator view. move unzip file inside framework folder.
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
Post a Comment