Open facsampaio opened 3 years ago
@facsampaio , what xcode version and your mac os version? try to update they because on Mac OS 10.15 seems its working,
you if want to, i am working on a new updated module: https://github.com/Poing-Studios/Godot-AdMob-Android-iOS you're welcome to test
@gustavottc, both are up to date, I'm afraid. Xcode 12.1 and macOS Catalina 10.15.7
It actually didn't go smoothly. I had trouble with the MAJOR_VERSION being 4 and the if statements being MAJOR_VERSION == 3 (I used >= to 'fix' that). After that, there was a problem with identifying the Banner, Interstitial and Rewarded classes, so I imported those inside the ifdef OBJC in the godotAdmob.h file. Then, a problem with release/dealloc and ARC permission, which I saw some people say we shouldn't use that, so I commentted these calls.
Now, after dealing with each one, there's this one.
I'll try yours. Thanks!
OS target (Android/iOS): iOS
Godot version: 3.2.1 (stable)
Issue description: I'm trying to recompile the export template. I've been running into some issues, but, apparently, I worked around them. However, this one I can't figure it out.
Error: modules/admob/ios/src/AdmobBanner.mm:17:35:{17:35-17:52}: error: no known class method for selector 'getviewController' [5] rootController = [AppDelegate getViewController]; ˆ I can't seem to find this getViewController on AppDelegate. Can someone help me with this error?
Expected: Recompile - success