In my application, I integrated the GoogleMobileAds framework to add some banners. The problem is that every time I launch my project, I receive the error message No such module 'GoogleMobileAds'
. I found a solution but it is not very effective : I remove references for the framework, I created a folder into the folder where all the files are and I put the framework into it. Every time I launch Xcode I need to remove references for the framework and add again the framework from the Framework folder I created and the error message disappear.
Anyone have a solution ?
Thank you !
UPDATE
Solution find with @ethemsulan's answer in : AdMob 7.3.1 and Swift 2.0 - Module not found
For future reference, I will still answer the question.
There's two steps to solving the Module not found
error, which also often occurs with the Parse framework.
Framework Search Path
under Search Paths
. There add the GoogleMobileAds.framework
path. This could be in your root directory of the project or at an external location, add either one. (If you cannot see it be sure to select All instead of Basic in the upper left corner)Project -> Build Settings
and toggle Enable Bitcode to NO
After this clean the project by selecting CMD-Shift-K
or selecting Product -> Clean
Hope that helps, Julian
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With