我已将 AppLovin 集成到 AdMOb 中介中。并遵循 AppLovin 文档中提到的所有步骤。
当我运行应用程序以显示带有以下代码的 AppLovin 视频时,
GADInterstitial* interstitialVideo = [[GADInterstitial alloc] initWithAdUnitID:@"ca-app-pub-xxxxxxxxxxxx"];
interstitialVideo.delegate = self;
GADRequest *request = [GADRequest request];
// Requests test ads on test devices.
request.testDevices = @[ testDeview ];
[interstitialVideo loadRequest:request];
if ([interstitialVideo isReady]) {
[interstitialVideo presentFromRootViewController:self];
}
我越来越低于例外,
[2604:1732410] -[GADMAdapterAppLovinRewardBasedVideoAd initWithGADMAdNetworkConnector:]: unrecognized selector sent to instance 0x1283d7570
2016-04-20 16:14:32.100 [2604:1732410] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GADMAdapterAppLovinRewardBasedVideoAd initWithGADMAdNetworkConnector:]: unrecognized selector sent to instance 0x1283d7570'
** First throw call stack:
我尝试将 -ObjC -all_load 添加到其他链接器标志,但我仍然得到相同的异常。
如果有人知道这里有什么问题,请告诉我。