- Home /
GoogleMobileAds.h file not found
I'm building my game to iOS, so I built my game as an xCode project, but EVERY SINGLE time I try to build, I keep on getting this error "GoogleMobileAds.h file not found"! I already imported the GoogleMobileAds.framework, GoogleAppeManagement.framework, nanopb.framework, and GoogleUtilities.framework. What is going on? This is very frustrating. I already tried looking up some answers, but none helped. :(
Answer by suIly · Dec 29, 2019 at 04:17 PM
I'll figure it out myself, no one can help me
***! I got it! So I went into the Google$$anonymous$$obileAds.framework (in the finder) and took all of the .h files inside of the "Headers" folder and put them directly into the Project Navigator, not in any subfolders. Then I opened the Google$$anonymous$$obileAds.h, and removed all of the Google$$anonymous$$obileAds from the #import line. I had to do this for every import. Now it works :)
If there is an error that says a file not found, just go to it and remove the "Google$$anonymous$$obileAds" from the line.
Your answer
Follow this Question
Related Questions
How to get readable stacktrace in IOS build? 1 Answer
IOS conversion Xcode not launching 0 Answers
Using multiple xcode versions from Unity 1 Answer
Huge iOS Build 1 Answer
Unity3d export Xcode..." level0.resS, resource.assets.resS" 0 Answers