CocoaPods

时间:2015-05-13 13:14:24

标签: ios cocoapods

我无法使用私人cocoapods回购中的吊舱。

当我尝试使用版本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:)

知道出了什么问题吗?

1 个答案:

答案 0 :(得分:8)

您的Podfile是否包含您的所有sources,例如对其他Specs repo的引用?

来自Artsy/Eigen

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