alexiscreuzot / SwiftyGif

High performance GIF engine
MIT License
2k stars 211 forks source link

Pod is not taking the latest version #109

Closed jfalexvijay closed 5 years ago

jfalexvijay commented 5 years ago

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

jfalexvijay commented 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:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default. jfalexvijay$

alexiscreuzot commented 5 years ago

Could you give me the version of cocoapods you use? gem list | grep cocoapods

jfalexvijay commented 5 years ago

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$

alexiscreuzot commented 5 years ago

Could you try with 1.6.0 ?

jfalexvijay commented 5 years ago

Hi Kirualex,

Sorry, I couldn't use the higher version.. because of some dependency software for my project.

Thank you for your support.