Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Crash on IOS #13

Open
filipp8 opened this issue Jan 5, 2020 · 1 comment
Open

Crash on IOS #13

filipp8 opened this issue Jan 5, 2020 · 1 comment

Comments

@filipp8
Copy link

filipp8 commented Jan 5, 2020

The app crashes immediately after initAdMob call

Called from extension.admob.AdMob.initAdMob (extension/admob/AdMob.hx line 19)
Called from ads.AdsWrapper.init (ads/AdsWrapper.hx line 47)
Called from state.play.PlayState.create (state/play/PlayState.hx line 59)
... [stacktrace continue] ...
Null Function Pointer
libc++abi.dylib: terminating with uncaught exception of type Dynamic
(lldb) 

I think I do not link the compiled lib correctly.
What I do is add all the content of the ndll/iPhone dir into Xcode -> Build Phases -> Link binary With Libraries.
I add all the content because I do not know what to add.
Info on here https://lib.haxe.org/p/samcodes-admob/ talks about a libAdMobAds.a file that I am not able to find.
I tried with haxelib 1.0.9 version and the git version.
On android works fine (even though I am not able to run correctly adMob together with Chartboost).

@Tw1ddle
Copy link
Owner

Tw1ddle commented May 15, 2021

I no longer use AdMob in my current projects, so won't be fixing this up.

For iOS it sounds like the ndlls needed rebuilding, and an updated library file libAdMobAds.a probably needs taking from the AdMob SDK itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants