AdMob SDK を実装しようとしていますが、viewDidLoad メソッドで次のコードを実行すると、これらのエラーと警告が表示されます...
// Create a view of the standard size at the bottom of the screen.
// Available AdSize constants are explained in GADAdSize.h.
bannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner];
// Specify the ad's "unit identifier." This is your AdMob Publisher ID.
bannerView_.adUnitID = @"a15030fff8e7e98";
// Let the runtime know which UIViewController to restore after taking
// the user wherever the ad goes and add it to the view hierarchy.
bannerView_.rootViewController = self;
[self.view addSubview:bannerView_];
// Initiate a generic request to load it with an ad.
[bannerView_ loadRequest:[GADRequest request]];
表示されるエラーと警告は次のとおりです...何が問題なのですか?
Project Navigator の AdMob ファイルもここにあります...
編集:アプリの起動時にこのクラッシュが発生するようになりました...
'NSInvalidArgumentException', reason: '-[GADBannerView private]: unrecognized selector sent to instance