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

multiple dependencies with different sources for SRSRadialGradient in Podfile #29

Open
seedwalk opened this issue Aug 30, 2021 · 5 comments

Comments

@seedwalk
Copy link

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`)
@seedwalk
Copy link
Author

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'

@crzycoder
Copy link

FFF74693-5B3A-4B4D-95FB-D9AB7283E91F

@crzycoder
Copy link

any update

@tharikrizan
Copy link

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

@fivecar
Copy link

fivecar commented Jul 2, 2024

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!).

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

No branches or pull requests

4 participants