Messaging demo app not compiling
Messaging demo app not compiling

do you install pod?
Image for me. Using pod install.

Can you send a screenshot from the top of that file? and the podfile also?
I ran pod install before opening the workspace - the project did not compile.
did you import Firebase at the top of AppDelegate file?
The demo project imports the following: @import Firebase; @import FirebaseInstanceID; @import FirebaseMessaging;
Yeah found that...got the same error. I commented those lines (if #available(iOS 10.0, *, etc.) out for the moment but would be nice if Firebase finds a solution here!
@Benjaminm5: I imported "UserNotifications" to avoid compile errs. But those functions are a bit outdated with Swift 3.
Tried that but that I still get that error :/
do you have Xcode 8?
@SweetBloodyDuck yes, I use Xcode 8.
Same here. XCode 8, same imports, same pods, same errors.
Yes, Xcode 8.
I have figured it out. I saw that I'm using Using FirebaseMessaging 1.1.0 (which is the same as you, @GitteM when the latest version is 1.2.0. you have to update your cocoa pods repos.
pod repo update Firebase/Messaging then pod update
It may take a while though.
edit: update just the Messaging. The previous command would update all your repos edit2: mention