美文网首页
pod search xx--报错CDN: trunk Repo

pod search xx--报错CDN: trunk Repo

作者: GitArtOS | 来源:发表于2020-03-24 18:36 被阅读0次

1. pod search XXX 一片红

今天升级了下pod,结果去查的时候就:CDN: trunk Repo update failed.........

pod 版本是1.9.1

CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/Coc......

查了下:执行pod repo remove trunk移除trunk源,pod search就都正常了!


Last login: Tue Mar 24 18:26:01 on ttys004
Tom-iMac:~ xiejinshui$ pod repo remove trunk
Removing spec repo `trunk`
Tom-iMac:~ xiejinshui$ pod search Masonry
Setup completed










-> Masonry (1.0.2)
   Harness the power of Auto Layout NSLayoutConstraints with a simplified,
   chainable and expressive syntax.
   pod 'Masonry', '~> 1.0.2'
   - Homepage: https://github.com/cloudkite/Masonry
   - Source:   https://github.com/cloudkite/Masonry.git
   - Versions: 1.0.2, 1.0.1, 1.0.0, 0.6.4, 0.6.3, 0.6.2, 0.6.1, 0.6.0, 0.5.3,
   0.5.2, 0.5.1, 0.5.0, 0.4.0, 0.3.2, 0.3.1, 0.3.0, 0.2.4, 0.2.3, 0.2.2, 0.2.1,
   0.2.0, 0.1.6, 0.1.5, 0.1.0, 0.0.3, 0.0.2 [cocoapods repo]

-> Masonry-FlattenLayout (0.1.0)
   More ergonomic thinkable and readable code with the new methods: .gap()
   .equalTill() .greaterOrEqualTill()
   pod 'Masonry-FlattenLayout', '~> 0.1.0'
   - Homepage: https://github.com/doggy/Masonry-FlattenLayout
   - Source:   https://github.com/doggy/Masonry-FlattenLayout.git
   - Versions: 0.1.0 [cocoapods repo]

-> HYBMasonryAutoCellHeight (2.0.1)
   基于Masonry的自动计算cell的行高的扩展库,且高效缓存行高
   pod 'HYBMasonryAutoCellHeight', '~> 2.0.1'
   - Homepage: http://101.200.209.244/masonry-cell-height-auto-calculate/
   - Source:   https://github.com/CoderJackyHuang/HYBMasonryAutoCellHeight.git
   - Versions: 2.0.1, 2.0.0, 1.0.1, 1.0.0, 0.0.1 [cocoapods repo]

-> ZhongMasonry (0.1.0)
   share client include sina weibo ,tencent weibo, renren
   pod 'ZhongMasonry', '~> 0.1.0'
   - Homepage: https://github.com/zjsrose/ZhongMasonry
   - Source:   https://github.com/zjsrose/ZhongMasonry.git
   - Versions: 0.1.0 [cocoapods repo]

-> MSSPopMasonry (0.0.2)
   Use Masonry with the Facebook Pop animation framework
   pod 'MSSPopMasonry', '~> 0.0.2'
   - Homepage: https://github.com/miklselsoe/MSSPopMasonry
   - Source:   https://github.com/miklselsoe/MSSPopMasonry.git
   - Versions: 0.0.2, 0.0.1 [cocoapods repo]

-> ARCollectionViewMasonryLayout (2.2.0)
   A UICollectionViewLayout subclass for creating masonry / pintrest / flow-like
   layouts with dynamic widths or heights.
   pod 'ARCollectionViewMasonryLayout', '~> 2.2.0'
   - Homepage: https://github.com/AshFurrow/ARCollectionViewMasonryLayout
   - Source:   https://github.com/AshFurrow/ARCollectionViewMasonryLayout.git
   - Versions: 2.2.0, 2.1.2, 2.1.1, 2.1.0, 2.0.0, 1.0.1, 1.0.0, 0.0.3, 0.0.2,
   0.0.1 [cocoapods repo]

-> ClassyLiveLayout (0.6.0)
   Use Classy stylesheets together with Masonry to tweak AutoLayout constants
   live when debugging in the simulator.
   pod 'ClassyLiveLayout', '~> 0.6.0'
   - Homepage: http://github.com/olegam/ClassyLiveLayout
   - Source:   https://github.com/olegam/ClassyLiveLayout.git
   - Versions: 0.6.0, 0.5.0, 0.4.0, 0.3.0, 0.2.0, 0.1.0 [cocoapods repo]

:


2. pod install 时候,又是一片红

Tom-iMac:~ xiejinshui$ cd /Users/xiejinshui/Desktop/ShuiYin 
Tom-iMac:ShuiYin xiejinshui$ pod install
Analyzing dependencies
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
[!] CDN: trunk Repo update failed - 27 error(s):
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.0.2/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.0.3/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.1.0/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.1.5/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.1.6/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.2.0/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.2.1/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.2.2/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.2.3/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.2.4/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.3.0/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.3.1/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.3.2/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.4.0/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.5.0/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.5.1/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.5.2/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.5.3/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.6.0/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.6.1/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.6.2/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.6.3/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/0.6.4/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/1.0.0/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/1.0.1/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/1.0.2/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/a/4/Masonry/1.1.0/Masonry.podspec.json Response: Couldn't connect to server

[!] Automatically assigning platform `iOS` with version `9.0` on target `ShuiYin` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Tom-iMac:ShuiYin xiejinshui$ 

我那个暴脾气上来了,⊙▂⊙ ⊙0⊙ ⊙︿⊙ ⊙ω⊙ ⊙﹏⊙ ⊙△⊙ ⊙▽⊙ ∩▂∩
我就手痒的又掏了掏:

Tom-iMac:~ xiejinshui$ pod repo list

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

cocoapods-1
- Type: git (unknown)
- URL:  https://github.com/CocoaPods/Specs.git
- Path: /Users/xiejinshui/.cocoapods/repos/cocoapods-1

trunk
- Type: CDN
- URL:  https://cdn.cocoapods.org/
- Path: /Users/xiejinshui/.cocoapods/repos/trunk

3 repos
Tom-iMac:~ xiejinshui$

哇哇, 三胞胎-------,我就移除了一些(cocoapods-1cocoapods)。

Tom-iMac:ShuiYin xiejinshui$ pod install
Analyzing dependencies
Cloning spec repo `cocoapods` from `https://github.com/CocoaPods/Specs.git`

👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇

image.png
Tom-iMac:ShuiYin xiejinshui$ pod install
Analyzing dependencies
Downloading dependencies
Installing Masonry (1.1.0)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `ShuiYin.xcworkspace` for this project from now on.
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

[!] Automatically assigning platform `iOS` with version `9.0` on target `ShuiYin` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Tom-iMac:ShuiYin xiejinshui$ 

相关文章

网友评论

      本文标题:pod search xx--报错CDN: trunk Repo

      本文链接:https://www.haomeiwen.com/subject/smdayhtx.html