Yubico / yubikit-ios

Yubico Mobile iOS SDK - YubiKit
Apache License 2.0
195 stars 43 forks source link

YubiKit 4.2.0 not available via CocoaPods #93

Closed WWSellers closed 2 years ago

WWSellers commented 2 years ago

Running "pod install" or "pod update" with the project podfile containing pod 'YubiKit', '4.2.0' gives this error:

[!] CocoaPods could not find compatible versions for pod "YubiKit":
  In Podfile:
    YubiKit (= 4.2.0)

None of your spec sources contain a spec satisfying the dependency: `YubiKit (= 4.2.0)`.

Searching for "YubiKit" on https://cocoapods.org shows the latest version as 4.1.0.

The podspec for 4.2.0 will need to be submitted to CocoaPods.org See "How do I update an existing Pod?" in https://guides.cocoapods.org/making/specs-and-specs-repo.html

The version 4.2.0 ReadMe file implies it will be available.

Add YubiKit to your Podfile

use_frameworks!

pod 'YubiKit', '~> 4.2.0'
WWSellers commented 2 years ago

Workaround: Use a local custom podspec file that declares

s.version = '4.2.0'

WWSellers commented 2 years ago

Cocoapods.org now shows 4.2.0 for YubiKit.

Thanks