CocoaPods 无法更新 ScoutMaps-iOS-SDK pod

CocoaPods unable to update ScoutMaps-iOS-SDK pod

ScoutMaps-iOS-SDK 的当前(已安装)版本是 2.4,我正在尝试更新到最新版本 2.5。

但是它没有更新也没有失败。

我运行命令:

pod update

输出为:

Downloading dependencies
Using AFDownloadRequestOperation (2.0.1)
Installing AFNetworking 2.5.4 (was 2.5.3)
Using HMSegmentedControl (1.5.1)
Using MBProgressHUD (0.9.1)
Using Reachability (3.2)
Using SWRevealViewController (2.3.0)
Using ScoutMaps-iOS-SDK (2.4.0)
Using ScoutMaps-iOS-SDKTools (2.4.0)
Using ZipArchive (1.4.0)
Generating Pods project
Integrating client project

如果我运行命令:

pod outdated

输出是(即使在执行pod update之后):

Updating spec repositories
Analyzing dependencies
The following pod updates are available:
- ScoutMaps-iOS-SDK 2.4.0 -> 2.4.0 (latest version 2.5)

我的 Podfile 的内容如下:

platform :ios, '7.1'

inhibit_all_warnings!

target 'MyTarget' do

pod 'ScoutMaps-iOS-SDK'
pod 'ScoutMaps-iOS-SDKTools'
pod 'AFNetworking', '~> 2.5'
pod 'MBProgressHUD', '~> 0.9'
pod 'SWRevealViewController', '~> 2.3'
pod 'HMSegmentedControl'

end

是什么导致了这个问题?有人知道怎么解决吗?

PS:我已经尝试了 "clean" 安装,pod outdated 的输出仍然相同。

原因是ScoutMaps-iOS-SDKScoutMaps-iOS-SDKTools的依赖,ScoutMaps-iOS-SDKTools还没有更新到2.5。

spec for ScoutMaps-iOS-SDKTOOLS 2.4 具有以下依赖性,这意味着可以使用 ScoutMaps-iOS-SDK 的任何 2.4 版本,但不能使用 2.5.

"dependencies": {
    "ScoutMaps-iOS-SDK": [
      "~> 2.4.0"
    ],
    ...
}