【问题标题】:Unable to get latest pod version for BMSCore and BMSPush IBM BlueMix iOS SDK无法获取 BMSCore 和 BMSPush IBM BlueMix iOS SDK 的最新 pod 版本
【发布时间】:2017-09-01 23:35:00
【问题描述】:

我按照在线文档关注了适用于 iOS 的 Bluemix Push SDK: 我正在尝试运行一个示例应用程序 - https://github.com/ibm-bluemix-mobile-services/bms-samples-swift-hellopush 。 但是在进行 pod update 之后 - 我只得到以下 pod BMSAnalyticsAPI (1.0.1) BMSCore (1.0.0) BMSPush (1.0.3) 。 我怎样才能获得上述最新的吊舱,即 BMSAnalyticsAPI (2.2.0) BMSCore (2.3.1) BMSPush (3.1.1) 给出了他们的示例视频 -https://www.youtube.com/watch?v=cOXjn3fuNG0

【问题讨论】:

  • 你的 CocoaPods 是什么版本的?
  • 我使用的是 CocoaPods 1.2.0 版。

标签: ios ibm-cloud ibm-mobile-services


【解决方案1】:

我使用的是 CocoaPods 版本 1.1.1,它成功地为我在克隆的存储库中执行 pod update 工作。我建议安装此版本或重新安装当前版本。您必须使用 Podfile 在您的项目中执行 pod update

$ pod update
Update all pods
Updating local specs repositories
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 6318 and retry the command.

CocoaPods 1.2.1.rc.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.2.1.rc.1

Analyzing dependencies
Downloading dependencies
Installing BMSAnalyticsAPI (2.2.0)
Installing BMSCore (2.3.1)
Installing BMSPush (3.1.1)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `helloPush_Swift3.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There are 2 dependencies from the Podfile and 3 total pods installed.

pod outdated 将列出所有有可用更新的 pod。

【讨论】:

  • 嗨@sachin sharma,现在是否安装了正确的依赖版本?
猜你喜欢
  • 2023-03-19
  • 1970-01-01
  • 1970-01-01
  • 2016-04-10
  • 2019-05-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-08-01
相关资源
最近更新 更多