How to fix unrecognized selector issue in AdMob implementation?

admob, ios, ios7

Solution

I was missing -ObjC flag in Other Linker flags

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

Problem

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.

Original source

Related problems