Swift Use of undeclared type 'GGLInstanceIDDelegate'

后端 未结 1 1518
被撕碎了的回忆
被撕碎了的回忆 2021-01-23 17:00

I am trying to implement Google Cloud Messaging into my iOS app. But I keep getting the error

Use of undeclared type \'GGLInstanceIDDelegate\'

相关标签:
1条回答
  • 2021-01-23 17:46

    You have to set the Bridging Header in the Xcode Build Settings under "Swift Compiler Generation" -> "Objective-C Bridging Header" like this:

    "$(SRCROOT)/$(PROJECT_NAME)/ObjCBridgingHeader.h"
    
    0 讨论(0)
提交回复
热议问题