Vojtech Vrbka Vojtech Vrbka - 7 months ago 41
iOS Question

How to fix unrecognized selector issue in AdMob implementation?

I have following problem:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GADSlot state]: unrecognized selector sent to instance

I have linked all required frameworks.


I was missing -ObjC flag in Other Linker flags

Go to Project settings > Build Settings And set -ObjC in Other Linker Flags.

XCode project settings