multiple dependencies with different sources for `SRSRadialGradient` in `Podfile`
seedwalk opened this issue · comments
Fede commented
When i try to install cocoapods i get this
[!] There are multiple dependencies with different sources for `SRSRadialGradient` in `Podfile`:
- SRSRadialGradient (from `../node_modules/react-native-radial-gradient/ios`)
- SRSRadialGradient (from `../node_modules/react-native-radial-gradient`)
Fede commented
fixed it by changed my pod file from
pod 'SRSRadialGradient', :path => '../node_modules/react-native-radial-gradient'
to
pod 'SRSRadialGradient', :path => '../node_modules/react-native-radial-gradient/ios'
Muhammad Danish commented
Muhammad Danish commented
any update
Tharik Rizan commented
fixed it by changed my pod file from
pod 'SRSRadialGradient', :path => '../node_modules/react-native-radial-gradient'
to
pod 'SRSRadialGradient', :path => '../node_modules/react-native-radial-gradient/ios'
This worked
Philip Su commented
FWIW, moving to v1.1.5
seems to require that things revert back to the original:
pod 'SRSRadialGradient', :path => '../node_modules/react-native-radial-gradient'
If you don't revert it, you now get an error that SRSRadialGradient doesn't have a pod in that director (i.e. /ios
).
Whereas the solution bi @crzycoder worked for me for a few years (thanks!).