swift - 安装失败 'Google GCM' swift

标签 swift xcode swift2 google-cloud-messaging cocoapods

我未能安装 Google Cloud Messaging 并收到此错误

[!] Unable to satisfy the following requirements:

  • Google/CloudMessaging required by Podfile

Specs satisfying the Google/CloudMessaging dependency were found, but they required a higher minimum deployment target.

我尝试将 podfile 和 xcworkspace 中的 ios 版本从 8.1 更改为 9.0,但仍然出现相同的错误。我正在使用 Cocoapods 1.1.0.beta.1

最佳答案

我尝试删除所有 pod 文件并重新安装 pod,它现在可以工作了

关于swift - 安装失败 'Google GCM' swift,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38944264/

相关文章:

ios - xCode:如何监控任何正在运行的第三方应用程序的 CPU 使用率

ios - TableView Segue 到新 ViewController 不能工作两次

iOS : Connected to wifi but no internet access

ios - swift 游戏相同的消息

Swift: 'Class.type' 没有名为 'variable' 的成员

swift - 从属性的原始值获取枚举

swift - 如何在 Swift 函数的 return 语句之后运行代码?

ios - Swift - MKPinAnnotation 图像问题

swift - 将秒数转换为时间戳

ios - 匹配辅助功能大文本字体大小