GoogleApisForiOSComponents icon indicating copy to clipboard operation
GoogleApisForiOSComponents copied to clipboard

Calling MobileAds.SharedInstance.PresentAdInspectorFromViewController results in an 'unrecognized selector' exception

Open dtaylorus opened this issue 3 years ago • 0 comments

Calling MobileAds.SharedInstance.PresentAdInspectorFromViewController(UIViewController, AdInspectorCompletionHandler) results in the following runtime exception:

ObjCRuntime.ObjCException: Objective-C exception thrown.  Name: NSInvalidArgumentException Reason: -[GADMobileAds presentAdInspectorFromViewController:viewController:]: unrecognized selector sent to instance 0x2835dd040
Native stack trace:
	0   CoreFoundation        0x00000001a4a3adc0 5F4831C9-4949-34EA-B373-3F45C312B753 + 40384
	1   libobjc.A.dylib       0x00000001a2ec59a0 objc_exception_throw + 56
	2   CoreFoundation        0x00000001a4b9ac24 5F4831C9-4949-34EA-B373-3F45C312B753 + 1481764
	3   CoreFoundation        0x00000001a4a4ff58 5F4831C9-4949-34EA-B373-3F45C312B753 + 126808
	4   CoreFoundation        0x00000001a4ab398c _CF_forwarding_prep_0 + 92
	5   com.example.app       0x000000010b483758 xamarin_dyn_objc_msgSend + 160
	6   com.example.app       0x0000000105e0fe14 wrapper_managed_to_native_Enums_Messaging_void_objc_m

dtaylorus avatar Sep 19 '22 18:09 dtaylorus