LoginSignup
0
0

More than 5 years have passed since last update.

cocoapodsで「fix failed to connect to github~」というエラーに遭遇した

Posted at

エラー遭遇

2018/3/13

いつもどおりpod installしようと思ったらこんな表示が...

pod-install.rb
[!] Unable to satisfy the following requirements:

- `SwiftLint` required by `Podfile`
- `SwiftLint (= 0.25.0)` required by `Podfile.lock`

None of your spec sources contain a spec satisfying the dependencies: `SwiftLint, SwiftLint (= 0.25.0)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

pod repo updateすると...

pod-repo-update.rb
Updating spec repo `master`
[!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down

😵😵😵😵😵?????

解決法

これに従ったら治りました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0