[英]Pods from a private repo are not found by 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
:)
知道出了什么問題嗎?
您的Podfile是否包含所有來源,例如對其他Specs回購的引用?
source 'https://github.com/artsy/Specs.git'
source 'https://github.com/CocoaPods/Specs.git'
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.