Closed jfalexvijay closed 5 years ago
Unable to specify the latest version in Podfile pod 'SwiftyGif', '5.1.1'
jfalexvijay$ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "SwiftyGif":
In Podfile:
SwiftyGif (= 5.1.1)
None of your spec sources contain a spec satisfying the dependency: SwiftyGif (= 5.1.1)
.
You have either:
pod repo update
or with pod install --repo-update
.Note: as of CocoaPods 1.0, pod repo update
does not happen on pod install
by default.
jfalexvijay$
Could you give me the version of cocoapods you use? gem list | grep cocoapods
below is the result:
jfalexvijay$ gem list | grep cocoapods cocoapods (1.5.0) cocoapods-core (1.5.0) cocoapods-deintegrate (1.0.2) cocoapods-downloader (1.2.0) cocoapods-plugins (1.0.0) cocoapods-search (1.0.0) cocoapods-stats (1.0.0) cocoapods-trunk (1.3.0) cocoapods-try (1.1.0) jfalexvijay$
Could you try with 1.6.0
?
Hi Kirualex,
Sorry, I couldn't use the higher version.. because of some dependency software for my project.
Thank you for your support.
Hi, today I was trying to use
SwiftyGif
. after pod installation command, I am getting some error saying "The target “SwiftyGif” contains source code developed with Swift 2.x. This version of Xcode does not support building or migrating Swift 2.x targets."I found the below message from terminal
"Installing SwiftyGif (4.2.0)" instead of 5.1.1
Can you please help me to use latest version of
SwiftyGif