Swift Use of undeclared type 'GGLInstanceIDDelegate'

后端 未结 1 1544
被撕碎了的回忆
被撕碎了的回忆 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)
提交回复
热议问题