TapJoy崩溃iPhone应用程序

我正在为我的iPhone应用程序tapjoy发布者SDK集成工作。我工作的很好,但更新到最新的SDK 9.0.3之后,它开始在这一行崩溃。

[TapjoyConnect requestTapjoyConnect:TAPJOY_ID secretKey:TAPJOY_SECRET_KEY]; 

崩溃描述。

*由于未捕获exception'NSUnknownKeyException',原因:'[setValue:forUndefinedKey:]:这个类不是关键字值closeButton编码兼容的应用程序终止。

任何帮助将不胜感激。 谢谢

确保你添加TapjoyPublisherLibrary没有广告库。

这是8.x到9.x的升级说明 。

 #import "TapjoyConnect.h" [TapjoyConnect requestTapjoyConnect:TAPJOY_APP_ID secretKey:TAPJOY_APP_SECRECT_KEY]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getFullScreenAd:) name:TJC_FULL_SCREEN_AD_RESPONSE_NOTIFICATION object:nil]; - (void)getFullScreenAd:(NSNotification*)notifyObj { // Displays a full screen ad, showing the current featured app. [TapjoyConnect showFullScreenAd]; } -(void)showTapJoyAds { // This method asks the tapjoy server for the featured app object. [TapjoyConnect getFullScreenAd]; } 

尝试将iOS目标更改为其他版本,或阅读Tapjoy规范,iOS需要什么。