How to fix unrecognized selector issue in AdMob implementation?

前端 未结 1 1488
闹比i
闹比i 2021-01-02 20:35

I have following problem:

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


        
相关标签:
1条回答
  • 2021-01-02 21:12

    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

    0 讨论(0)
提交回复
热议问题