Pods 来自私人仓库的 Cocoa 未找到 Pods

Pods from a private repo are not found by CocoaPods

我无法使用私有 cocoapods 存储库中的 pod。

当我尝试使用版本 0.37.1 添加我的 pod 时,出现以下错误:

[!] Unable to find a specification for ...

我的 cocoapods 配置使用 2 个遥控器:

$ pod repo list 

bootstragram-public-pod-repo
- Type: git (master)
- URL:  https://github.com/Bootstragram/bootstragram-public-pod-repo.git
- Path: /Users/mick/.cocoapods/repos/bootstragram-public-pod-repo

master
- Type: git (master)
- URL:  https://github.com/CocoaPods/Specs.git
- Path: /Users/mick/.cocoapods/repos/master

2 repos

当我使用 pod install --verbose 时,似乎只检查了 master 存储库,而不是私有存储库:

  Preparing
    Migrating to CocoaPods 0.36

Analyzing dependencies

Updating spec repositories
Updating spec repo `master`
  ...

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods`: (``)

...

Resolving dependencies of `Podfile`
Finished resolution (0 steps) (Took 0.455585 seconds) (2015-05-13 15:09:23 +0200)
[!] Unable to find a specification for `BSGUtilities`

我希望有一个 Updating spec repo bootstragram-public-pod-repo :)

知道出了什么问题吗?

您的 Podfile 是否包含您所有的 sources 例如对其他 Specs 存储库的引用?

来自Artsy/Eigen

  source 'https://github.com/artsy/Specs.git'
  source 'https://github.com/CocoaPods/Specs.git'