Add admob in Xcode

Hello everyone:
I follow the tutorial from the following post:

Try to add admob to Xcode. But when I am done, There is one error:

  • (instancetype)initWithContentViewController:(UIViewController *)contentController
    {
    self = [super init];
    if (self != nil) {
    _bannerView = [[GADBannerView alloc] initWithAdSize: kGADAdSizeSmartBannerPortrait];
    _bannerView.adUnitID = @“ca-app-pub-2034843604618027/2827229595”; //REPLACE WITH YOUR OWN PUBLISHER ID
    _bannerView.delegate = self; !Assigning to ‘id’ from incompatible type 'BannerViewController’

      _contentController = contentController;
      _bannerLoaded = NO;
    

    }
    return self;
    }

I am still getting liner errors:

Undefined symbols for architecture x86_64:
OBJC_CLASS$_EKEvent”, referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
OBJC_CLASS$_EKEventEditViewController”, referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried to link more frameworks. But I cannot find a solution to it.
Anyone know how to fix this? I am using cocos2dx 3.2 C++ and GoogleMobileAdsSdkiOS 6.12.0

The latest AdMob requires new frameworks: EventKit and EventKitUI. See here: https://developers.google.com/mobile-ads-sdk/docs/admob/ios/rel-notes

problem solved~
Thank you so much