'GoogleMobileAds/GoogleMobileAds.h' file not found
got error in unity cloud build need help this was for ios
ios dk version 7.24.1 and Google Mobile Ads Unity Plugin v3.7.1
GADUNativeCustomTemplateAd.h:5:9: fatal error: 'GoogleMobileAds/GoogleMobileAds.h' file not found
I am having the same issue.....tried to build it with and without iap and import older release......but no luck
Answer by rahulpatil6220375 · Jul 22, 2019 at 04:03 AM
@eriuop recently i have solve this error, i spend this error solve 5 days but now my error should be solves NO NEED TO WOrry
https://developers.google.com/admob/ios/download (download this)
go into xcode and then hierarchy->framework folder -> just copy only for file
GoogleMobileAds.framework GoogleAppMeasurement.framework GoogleUtilities.framework nanopb.framework
only four file copy in your framework folder in hierarchy and then clean project and then create a archieve
whatever you want....
i m sure error should be solved in your programme
I tried to do this, but seems I didnt know which files put where manually, so my solution is below.
hi, i am also having this error and can not solve it.
what do you mean by these 4 files? files from the zip-file you mentioned to download? https://developers.google.com/admob/ios/download
also, where exactly to put them? in preferences in xcode (the programm) or in the folders of xcode? or in the projects folders?
In my case I have put the files inside the Unity project "Assets/plugins/IOS/". For it to work, I had to remove the simulators, macOS and tvOS components from each framework.
Answer by kingbaggot · Oct 09, 2017 at 07:29 PM
Yup - I've got this too. A Real pain in the bum.
Have tried following some of these cures to no avail. https://forum.unity.com/threads/ios-admob-and-xcode-7-beta-module-not-found.348360/
Downloading the framework from here and dragging it into your frameworks folders fixes the import failure. https://developers.google.com/admob/ios/download but creates a whole heap of lovely new errors :O
I'll keep cracking away at it in the meantime and if I find a solution I'll pass it on !
Answer by Yerbol05 · May 15, 2020 at 07:49 PM
Hi, I am familiar with Xcode and swift, So I did it this way: 1) install cocoapods on the mac 2) via terminal app update the pods in your project with the command: pod install --repo-update
So, this will install and update all SDKs that your project is using.
Check this video tutorial: https://www.youtube.com/watch?v=iEAjvNRdZa0&spfreload=10
3) after that I had new error, but it was solved by opening and using MyProjectName.workspace file instead of MyProjectName.xcodeproj file. 4) had some other errors connected with certificates but fixed them, step by step
Your answer
Follow this Question
Related Questions
Built Failure! Failed Recompile Android Resources Files 1 Answer
duplicate symbols for architecture arm64 0 Answers
Recording audio and video to stock it into a local file 0 Answers
How can ı do unity adapter integration for admob rewarded video ? 0 Answers
Why Android App-Indexing feature not works in Unity project when import it as a plugin.? 1 Answer