SDWebImage pod issue
SDWebImage 5.3.1 released 2days ago
https://github.com/SDWebImage/SDWebImage/releases
react-native-fast-image has SDWebImage & SDWebImageWebPCoder
recently SDWebImage has no file called 'SDWebImage.h'
but SDWebImageWebPCoder has import 'SDWebImage.h'
so it occured import error
If I set SDWebImage pod version to 5.2.5 the error resolved
I am seeing the same in my build:
[!] CocoaPods could not find compatible versions for pod "SDWebImage":
--
 | In snapshot (Podfile.lock):
 | SDWebImage (= 5.3.1, ~> 5.0)
 | Â
 | In Podfile:
 | RNFastImage (from `../node_modules/react-native-fast-image`) was resolved to 7.0.2, which depends on
 | SDWebImage (~> 5.0)
 | Â
 | Â
 | You have either:
 | * changed the constraints of dependency `SDWebImage` inside your development pod `RNFastImage`.
 | You should run `pod update SDWebImage` to apply changes you've made.
Isn't there a better way than manually overwriting the dependency version?
Any progress on this? Also happens with my project, using SDWebImage 5.3.1 don't work but if I use version 5.2.3 it works fine...
Is this issue still re-producable ?
I’m the maintainer of SDWebImage and I can ensure the umbrella header SDWebImage.h exist.
I guess this because of the hard-coded path for react-native-fast-image. SDWebImage 5.3 seems does not change anything related to project...Only new added source files ?
I just upgraded react-native-fast-image from ^7.0.2 to ^8.1.5 I get this issue. It happened after I ran pod install. I rolled back to ^7.0.2 and the problem went away.
I just upgraded
react-native-fast-imagefrom ^7.0.2 to ^8.1.5 I get this issue. It happened after I ranpod install. I rolled back to ^7.0.2 and the problem went away.
Can anyone provide a reproducable demo (zip it and upload. You can keep the Podfile and Podfile.lock, but removing the Pods folder because it's large) ? Which I can pod install on it.
Provide the SDWebImageWebPCoder version is better
I followed the steps on following link. These worked perfectly for me https://github.com/DylanVann/react-native-fast-image/blob/master/docs/troubleshooting.md
- remove ios/Podfile.lock
- and
pod install
It will be fine!
I have edit ../node_modules/react-native-fast-image/RNFastImage.podspec
change
s.dependency 'SDWebImage', '~> 5.0'
s.dependency 'SDWebImageWebPCoder', '~> 0.4.1'
to
s.dependency 'SDWebImage'
s.dependency 'SDWebImageWebPCoder'
It's work fine to me.
- remove ios/Podfile.lock
- and
pod installIt will be fine!
It's working thanks :)
I have edit
../node_modules/react-native-fast-image/RNFastImage.podspecchanges.dependency 'SDWebImage', '~> 5.0' s.dependency 'SDWebImageWebPCoder', '~> 0.4.1'to
s.dependency 'SDWebImage' s.dependency 'SDWebImageWebPCoder'It's work fine to me.
It worked for me, but it can't be done on CI/CD, can it? Definitely the problem is there. Repoen the issue please.