내 응용 프로그램을 Google 클라우드 메시징 (GCM)에서 Firebase 클라우드 메시징 (FCM)으로 마이그레이션하려고합니다. 상무부 우리가이 기능해결되지 않은 식별자 'FIRInstanceIDAPNSTokenTypeSandbox'사용
func application(application: UIApplication,didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) {
FIRInstanceID.instanceID().setAPNSToken(deviceToken, type:FIRInstanceIDAPNSTokenTypeSandbox)
}
을 둘 필요하지만 심지어 이미 Firebase
, FirebaseInstanceID
, FirebaseMessaging
을 가져 FIRInstanceIDAPNSTokenTypeSandbox
에 해결되지 않은 식별자를 얻을 수 있다고 말한다. 왜 그런지 알아? 나는 사람들에게서 어떤 종류의 단서를 주셔서 감사합니다. 감사!
네, 그랬습니다. 'BridgingHeader' 파일에서 무엇을 가져 옵니까? 'Google/CloudMessaging.h' 및'Firebase/Messaging'을 가져 오려고했지만 찾지 못했습니다. –