gpt4 book ai didi

ios - CocoaPods 找不到私有(private)仓库中的 Pod

转载 作者:可可西里 更新时间:2023-11-01 06:22:54 24 4
gpt4 key购买 nike

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

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

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

我的 cocoapods 配置使用 2 个 Remote :

$ 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 存储库,而不是私有(private)存储库:

  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'

关于ios - CocoaPods 找不到私有(private)仓库中的 Pod,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30215936/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com