Chartboost not working on iPhone

I have an app with Chartboost integrated. Interstitial ads from Chartboost load perfectly in the Corona Simulator, but it always fail with the following errors outputted in the Xcode organizer console on an iPhone when I try to load an interstitial.

Chartboost: shouldDisplayInterstitial Default? Chartboost: didFailToLoadInterstitial Default Error: chartboost\_library\_public.lua:2407: attempt to call local 'frameImage' (a nil value) 

I have followed all the steps on the documentations.  Can anyone tell me what could possibly cause this error? 

Thanks,

I haven’t seen that error before myself. It’s pointing to an error within their module. However frameImage sounds like it might be trying to do something with a custom frame. Have you uploaded any frames yourself, or do you just use the standard ones?

On a side-note:

Be aware that Chartboost will not work on iOS with Corona build 2169 or later due to the iOS IDFA being removed from the Corona core. Android is OK though. It will look like everything is OK, as your app will serve ads and people can click on them, but you won’t get any revenue as they can’t track installs without the IDFA.

If you want to use the Open Source version of the Chartboost module for both iOS and Android, you need to compile with 2162 or earlier. 

I’m using the standard frames in my app, and after compiling with build 2014.2162 and the error still shows up in the console.

I’ve also tried plugging my app ids into the sample provided in Github, and it seemed like there’s something wrong with my app IDs specifically.

Update:  My app is by default landscapeRight, and when I added cb.setOrientation(cb.orientations.LANDSCAPE) after cb.startSession() the advertisements started showing up correctly again.

However, now the ads appear to be like this:

A5daEOL.png

Any idea on how to fix this?

Thanks again

We are releasing a Chartboost plugin which uses their native SDK at the end of this week or the beginning of next week at latest.

Thanks for the reply!  Looking forward to the new plugin.

I haven’t seen that error before myself. It’s pointing to an error within their module. However frameImage sounds like it might be trying to do something with a custom frame. Have you uploaded any frames yourself, or do you just use the standard ones?

On a side-note:

Be aware that Chartboost will not work on iOS with Corona build 2169 or later due to the iOS IDFA being removed from the Corona core. Android is OK though. It will look like everything is OK, as your app will serve ads and people can click on them, but you won’t get any revenue as they can’t track installs without the IDFA.

If you want to use the Open Source version of the Chartboost module for both iOS and Android, you need to compile with 2162 or earlier. 

I’m using the standard frames in my app, and after compiling with build 2014.2162 and the error still shows up in the console.

I’ve also tried plugging my app ids into the sample provided in Github, and it seemed like there’s something wrong with my app IDs specifically.

Update:  My app is by default landscapeRight, and when I added cb.setOrientation(cb.orientations.LANDSCAPE) after cb.startSession() the advertisements started showing up correctly again.

However, now the ads appear to be like this:

A5daEOL.png

Any idea on how to fix this?

Thanks again

We are releasing a Chartboost plugin which uses their native SDK at the end of this week or the beginning of next week at latest.

Thanks for the reply!  Looking forward to the new plugin.