我一直面临向IOS 11中运行IOS客户端发送推送通知的问题,在网上冲浪时发现暂时锁定到pod文件中的FirebaseInstanceID 2.0.0 . 但是,如果我这样做,我收到如下错误消息,

**Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "FirebaseInstanceID":
  In snapshot (Podfile.lock):
    FirebaseInstanceID (= 2.0.10)
  In Podfile:
    FirebaseInstanceID (= 2.0.0)
Specs satisfying the `FirebaseInstanceID (= 2.0.0), FirebaseInstanceID (= 2.0.10)` dependency were found, but they required a higher minimum deployment target.
[!] Automatically assigning platform `ios` with version `10.2` on target `PushNotificationDemo` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.**

FCM Push notifications do not work on iOS 11

是否有任何其他方式在IOS 11中启用推送通知 . 谢谢提前

我的Pod文件如下,

取消注释下一行以定义项目的全局平台

平台:ios,'9.0'

目标'PushNotificationDemo'做#如果您不使用Swift并且不想使用动态框架use_frameworks,请注释下一行!

#Pods for PushNotificationDemo pod'Firebase / Core'pod'Firebase / Messaging' #pod'FirebaseInstanceID','2.0.0'

目标'PushNotificationDemoTests'继承! :search_paths #Bods用于测试结束

目标'PushNotificationDemoUITests'继承! :search_paths#用于测试终端的Pod