ads.init( "vungle", ... ) freezes the application.

hi Guys, 

I’m having troubles getting ads.init( “vungle” … ) to work as expected. My code worked before and now it does not anymore. 

Code is here:

        print( “I managed to get here 1” )

 

        ads.init( “admob”, AdsAndMoreGames.bannerId, AdsAndMoreGames.adMobListener )

 

        print( “I managed to get here 1.5” )

 

        ads.init( “vungle”, AdsAndMoreGames.vungleAdId, AdsAndMoreGames.vungleListener )

 

        print( “I managed to get here 2” )

Output on connected device I get:

Nov 15 21:12:06 iPhone-Radek Sheeepy[4718] <Warning>: I managed to get here 1

Nov 15 21:12:06 iPhone-Radek Sheeepy[4718] <Warning>: luaopen_CoronaProvider_ads_admob

Nov 15 21:12:06 iPhone-Radek Sheeepy[4718] <Warning>: I managed to get here 1.5

Nov 15 21:12:06 iPhone-Radek Sheeepy[4718] <Warning>: cache path: /var/mobile/Applications/5D398547-7816-4B21-B95D-EDDDD0C65394/Library/Caches/vungle

Nov 15 21:12:06 iPhone-Radek Sheeepy[4718] <Error>: -[NSUserDefaults initWithSuiteName:]: unrecognized selector sent to instance 0x21544650

Conclusion:

  • I’m not getting to 3rd print. Message “I managed to get here 2” is not getting displayed.

Anyone any clue what might be wrong? 

Software that I have:

Xcode version 7.0.1

iOS version 6x

Corona SDK version: build 2015.2731

Configuration in build.settings:

settings =

{

        plugins =

                {

                        --[“CoronaProvider.ads.admob”] =

                        --{

                        –      publisherId = “com.coronalabs”,

                        --},

                        [“CoronaProvider.ads.vungle”] =

                        {

                                publisherId = “com.vungle”,

                        },

 

(contains the plugin…)

Anyone had similar issue / problem? Any resolution? 

Cheers,

Radek

The same problem here:

https://forums.coronalabs.com/topic/60066-ios-6-crash/

It’s because of the plugin update, the plugin now requires GameController.framework which is only available on iOS 7+.

The only way to fix it is to increase minimum iOS version to 7.0 (add MinimumOSVersion = “7.0” to your plist in build.settings).

Apple only supports the current version of iOS and two builds back. We try to support the same. That means iOS 9, iOS 8 and iOS 7.

Rob

The same problem here:

https://forums.coronalabs.com/topic/60066-ios-6-crash/

It’s because of the plugin update, the plugin now requires GameController.framework which is only available on iOS 7+.

The only way to fix it is to increase minimum iOS version to 7.0 (add MinimumOSVersion = “7.0” to your plist in build.settings).

Apple only supports the current version of iOS and two builds back. We try to support the same. That means iOS 9, iOS 8 and iOS 7.

Rob