Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CocoaPods could not find compatible versions for pod "SDWebImage" #731

Closed
ryoid opened this issue Sep 21, 2020 · 10 comments
Closed

CocoaPods could not find compatible versions for pod "SDWebImage" #731

ryoid opened this issue Sep 21, 2020 · 10 comments
Labels

Comments

@ryoid
Copy link

ryoid commented Sep 21, 2020

Describe the bug
Unable to do pod install. I have tried using an older version and I am able to use up to 8.1.9.

To Reproduce

  1. npx pod-install
  2. See error

Expected behavior
Install pods.

Screenshots
image

Dependency versions

  • React Native version: 0.63.2
  • React version: 16.13.1
  • React Native Fast Image version: 8.3.2
  • Cocoapods: 1.9.3
@ryoid ryoid added the bug label Sep 21, 2020
@chengsam
Copy link

Try run pod repo update

@ryoid
Copy link
Author

ryoid commented Sep 21, 2020

Try run pod repo update

That did it for me, thank you so much didn't realise was an issue with my cocoapod.

@ryoid ryoid closed this as completed Sep 21, 2020
@code-by
Copy link

code-by commented Mar 11, 2021

not help for solve same issue
RN: 0.60.5
RNFI: 8.3.4

Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] CocoaPods could not find compatible versions for pod "SDWebImageWebPCoder":
  In snapshot (Podfile.lock):
    SDWebImageWebPCoder (= 0.2.5, ~> 0.2.3)

  In Podfile:
    RNFastImage (from `../node_modules/react-native-fast-image`) was resolved to 8.3.4, which depends on
      SDWebImageWebPCoder (~> 0.6.1)


You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `SDWebImageWebPCoder` inside your development pod `RNFastImage`.
   You should run `pod update SDWebImageWebPCoder` to apply changes you've made.

@JimTeva
Copy link

JimTeva commented Jun 14, 2021

@code-by, I fixed it with:

rm Podfile.lock
pod install --repo-update

@Subomi-olagoke
Copy link

None of the solutions above fixed it for me

@Subomi-olagoke
Copy link

I am building a react native app , I have tried updating both expo and react native , still nothing , any ideas ?

@aleena-adnan1
Copy link

did you solve it @Subomi-olagoke ?

@almeidapaulooliveira
Copy link

Not working for me as welL, using Expo:

[Hermes] Using the release tarball from Maven Central
[!] CocoaPods could not find compatible versions for pod "SDWebImage":
  In Podfile:
    ExpoImage (from `../node_modules/expo-image/ios`) was resolved to 1.3.5, which depends on
      SDWebImage (~> 5.15.8)

    RNFastImage (from `../node_modules/react-native-fast-image`) was resolved to 8.6.3, which depends on
      SDWebImage (~> 5.11.1)

@michelazzam
Copy link

Not working for me as welL, using Expo:

[Hermes] Using the release tarball from Maven Central
[!] CocoaPods could not find compatible versions for pod "SDWebImage":
  In Podfile:
    ExpoImage (from `../node_modules/expo-image/ios`) was resolved to 1.3.5, which depends on
      SDWebImage (~> 5.15.8)

    RNFastImage (from `../node_modules/react-native-fast-image`) was resolved to 8.6.3, which depends on
      SDWebImage (~> 5.11.1)

This error occurred after upgrading Cocoapods, right ?

Same issue occurring with me and I am using expo as well - @almeidapaulooliveira

@Relie9828
Copy link

Try removing react-native-fast-image if you have it install then run:

rm Podfile.lock
pod install --repo-update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants