0

I used below chartboost swift code in Xcode 6.3 and getting error for didFailToLoadInterstitial line. I don't had this problem in Xcode 6.2. How to fix this in Xcode 6.3 ?

func applicationDidBecomeActive(application: UIApplication) 
{        
    let kChartboostAppID = "5472ef8f04b01601a1a5814c";
    let kChartboostAppSignature = "5b6222426e68cda48669a1d4d8246d4c3d20db9c";

    Chartboost.startWithAppId(kChartboostAppID, appSignature: kChartboostAppSignature, delegate: self);
    Chartboost.cacheMoreApps(CBLocationHomeScreen)
}

class func showChartboostAds()
{
     Chartboost.showInterstitial(CBLocationHomeScreen);
}

func didFailToLoadInterstitial(location :CBLocation, withError error: CBLoadError)
{

}

enter image description here

Guru
  • 21,652
  • 10
  • 63
  • 102

1 Answers1

1

This builds for me on Chartbeat SDK 5.2.0:

func didFailToLoadInterstitial(location: String!, withError error: CBLoadError) {

}
mattr
  • 5,458
  • 2
  • 27
  • 22