0xced / XCDYouTubeKit

YouTube video player for iOS, tvOS and macOS
MIT License
2.92k stars 626 forks source link

Fail to update to version 2.15 with cocoapod #502

Closed gonzo-oin closed 3 years ago

gonzo-oin commented 3 years ago

I have an error when I try to use the latest version (2.15) with cocoapod

My podfile :

pod 'Flurry-iOS-SDK/FlurryTVOS' #tVOS Analytics Pod
pod 'Bugsnag'
pod 'SwiftProtobuf', "1.6.0"
pod 'Kingfisher', '~> 5.0'
pod 'Just'
pod 'TVVLCKit', '~>3.3.10'
pod "XCDYouTubeKit", "~> 2.15"

The error :

pod update
Update all pods
Updating local specs repositories

CocoaPods 1.10.0 is available.
To update use: `gem install cocoapods`

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.10.0

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "XCDYouTubeKit":
  In Podfile:
    XCDYouTubeKit (~> 2.15)

None of your spec sources contain a spec satisfying the dependency: `XCDYouTubeKit (~> 2.15)`.

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
SoneeJohn commented 3 years ago

Try removing the version specification and run pod update XCDYouTubeKit

gonzo-oin commented 3 years ago

It's working now. But I tried before, maybe some sort of cache was involved. thank you !