6

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.

Vojtech Vrbka
  • 5,342
  • 6
  • 44
  • 63

1 Answers1

28

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

Vojtech Vrbka
  • 5,342
  • 6
  • 44
  • 63