After using the provided code, I tried to build/run the app but I got one error, I can't figure it out.
Command failed due to signal: Abort trap: 6
Can you post more information? Was the error a compiler error, or a runtime one? What version of Xcode are you using?
It is a compiler error, and I'm using Xcode 8.3.2
Thanks!
Oops I meant Run!!
Interesting, that's an unusual error message for a runtime error.
Can you post the full crash log? Are there any other errors in console when running your app?
Sorry I'm at work and not thinking straight. I was correct in the first reply, I was overwhelming myself. It's a complier error. No other errors, and when I get home tonight I'll post the error message
I am experiencing the same issue as well.
What I ended up doing is started from scratch and that took care of my problem.
I am trying to incorporate this into an established product, so that does not work as well unfortunately. Thanks for the reply though
By commenting out
// [END ios_10_message_handling]
// [START ios_10_data_message_handling]
extension AppDelegate : FIRMessagingDelegate {
// Receive data message on iOS 10 devices while app is in the foreground.
func applicationReceivedRemoteMessage(_ remoteMessage: FIRMessagingRemoteMessage) {
print(remoteMessage.appData)
}
}
// [END ios_10_data_message_handling]
I can get it to compile at least, but then that brings other issues
That's what i was doing as well, I was hoping it would. ;)
Ok, I did resolve my problem.
I did the following, not sure which of these steps resolved the problem, but one of them did
ran 'pod deintegrate'
modified Podfile to add the following (uncommented actually)
platform :ios, '8.0'
use_frameworks!
ran 'pod install'
Issue was resolved
I do according to your income, but the error still exists

@wbxiaowangzi 請分享您的Podfile。
Most helpful comment
Ok, I did resolve my problem.
I did the following, not sure which of these steps resolved the problem, but one of them did
ran 'pod deintegrate'
modified Podfile to add the following (uncommented actually)
platform :ios, '8.0'
use_frameworks!
ran 'pod install'
Issue was resolved