I used GRDB.swift 6.26.0 in a Podfile of an app and I tried to pull dependencies using bundle exec pod install --repo-update.
What did you expect to happen?
The released GRDB.swift version should be available on Cocoapods master repo and pod install should succeed, especially with --repo-update option that is supposed to get the latest versions to the local Cocoapods cache.
What happened instead?
pod install failed with
[!] CocoaPods could not find compatible versions for pod "GRDB.swift":
In Podfile:
GRDB.swift (= 6.26.0)
None of your spec sources contain a spec satisfying the dependency: GRDB.swift (= 6.26.0).
What did you do?
I used GRDB.swift 6.26.0 in a Podfile of an app and I tried to pull dependencies using
bundle exec pod install --repo-update
.What did you expect to happen?
The released GRDB.swift version should be available on Cocoapods master repo and
pod install
should succeed, especially with --repo-update option that is supposed to get the latest versions to the local Cocoapods cache.What happened instead?
pod install
failed with[!] CocoaPods could not find compatible versions for pod "GRDB.swift": In Podfile: GRDB.swift (= 6.26.0)
None of your spec sources contain a spec satisfying the dependency:
GRDB.swift (= 6.26.0)
.Environment
GRDB flavor(s): (GRDB) GRDB version: 6.26.0 Installation method: (CocoaPods) Xcode version: 15.0.1 Swift version: 5.9 Platform(s) running GRDB: (iOS) macOS version running Xcode: 13.6.4
Suggested solution
It seems that the 6.26.0 version wasn't released to Cocoapods Spec - https://github.com/CocoaPods/Specs/tree/2a75c60c3946cb902f78cd986abedc3b05e5e896/Specs/f/e/e/GRDB.swift. Which seems to be the source of a problem.