Reachability.swift: ReachabilitySwift 3.0 doesn't update with Cocoapods

I’ve updated XCode 8.0 with Swift 3, and I can’t update ReachabilitySwift 3.0

[!] Unable to satisfy the following requirements:

  • ReachabilitySwift (~> 3) required by Podfile

None of your spec sources contain a spec satisfying the dependency: ReachabilitySwift (~> 3).

You have either:

  • out-of-date source repos which you can update with pod 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.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (5 by maintainers)

Most upvoted comments

@davilinho @mime29 Thanks guys - I added a .swift-version file (per https://github.com/CocoaPods/CocoaPods/pull/5841) , which seems to have resolved the issue, so you now should be able to specify

pod 'ReachabilitySwift', '~> 3'

Thank you. Keep us posted once it is ready so we can revert back to cocoapods.

Ah - my fault! Didn’t push trunk - on it now