Yubico / yubikit-ios

Yubico Mobile iOS SDK - YubiKit
Apache License 2.0
205 stars 49 forks source link

YubiKit 4.6.0 minimum version fail #162

Closed ospfranco closed 2 months ago

ospfranco commented 2 months ago

Hi, my project is targeting iOS 13.4. From what I see in the podspec 11 is the minimum required target. However when I try to install the pods I get:

[!] CocoaPods could not find compatible versions for pod "YubiKit":
  In snapshot (Podfile.lock):
    YubiKit (= 4.4.0)

  In Podfile:
    Fido (from `../modules/fido/ios`) was resolved to 1.0.0, which depends on
      YubiKit (= 4.6.0)

Specs satisfying the `YubiKit (= 4.4.0), YubiKit (= 4.6.0)` dependency were found, but they required a higher minimum deployment target.

Is the deployed version on CocoaPods the same the the main branch of the repo?

ospfranco commented 2 months ago

As a matter of fact, I don't see 4.6.0 not published on Cocoapods

https://github.com/CocoaPods/Specs/blob/master/Specs/8/1/2/YubiKit/4.4.0/YubiKit.podspec.json

ospfranco commented 2 months ago

Duplicate of #155. For now a workaround is to pin it to the github repo:

pod 'YubiKit', :git => 'https://github.com/Yubico/yubikit-ios.git'