jenkins-ci icon indicating copy to clipboard operation
jenkins-ci copied to clipboard

[Obj-c] Custom rendering example failing with Google Ads Mobile v8.0.0+

Open acangiani opened this issue 4 years ago • 0 comments

Hi!

Related to issue 202, I followed the v8 upgrade guidelines but I'm unable to load an ad with the default ad unit. I did this changes but I'm getting an undecipherable traceback:

Code reference:

- (IBAction)refreshAd:(id)sender {
  ...
  self.adLoader.delegate = self;
  [self.adLoader loadRequest:[GADRequest request]];
  self.videoStatusLabel.text = @"";
}

Traceback:

Thread 1: EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0)

In order to reproduce this error:

  1. Clone my fork and go to the branch `custom-native-ad-8.1.0.
  2. cd googleads-mobile-ios-examples/Objective-C/admanager/AdManagerCustomRenderingExample/
  3. Run pod update
  4. Open AdManagerCustomRenderingExample.xcworkspace
  5. Run the project on any emulator

Documentation links:

acangiani avatar Feb 19 '21 22:02 acangiani