-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Invalid RNSVG.podspec
file: undefined method `visionos' for #<Pod::Specification name="RNSVG">.
#2241
Comments
Fixed for me by updating Cocoapods, see getsentry/sentry-react-native#3547 (comment) |
Worked for me too! Thanks |
Updating cocoapods did'n worked for me ---update--- and delete and create a patch using "patch-package" |
Fixed by adding |
@ssandroidify thank's so much! This works for me |
People who has that issue, update "watchman" on your mac, with watchman your Pod version will be updated as well and this will fix the problem that you have. |
getting the same error, Does anyone find any stable solution? Updating Watchman didn't work. @DogukanTansuk @ssandroidify could you please help me with the patch package creation? |
@TanveerShah0 navigate to - and delete then install this package patch-package then run cmd - |
Last version of react-native-svg is not stable. I downgraded to 14.1.0 |
Ensure that your cocoapods version above 1.14.3, please follow the steps to ensure that you're in right configuration to fix this problem;
This is fixed my problem if it is not works for you then yours is different than mine. Our 4 team member also fixed like this. |
That's work for me. Thank you |
Whats the status on this? This is still occuring |
Hi everyone, |
just downgrade the react-native-svg. |
downgrade the npm svg package |
npx expo install react-native-svg@9.13.6 worked for me |
Pod install error
"react": "18.2.0",
"react-native": "0.72.11",
"react-native-svg": "^15.1.0",
[!] Invalid
Podfile
file:[!] Invalid
RNSVG.podspec
file: undefined method `visionos' for #<Pod::Specification name="RNSVG">.from /Users/mac/Desktop/WorkSpace/Rootchat/RootchatRN/node_modules/react-native-svg/RNSVG.podspec:18
-------------------------------------------
s.tvos.exclude_files = '**/*.macos.{h,m,mm}'
s.osx.exclude_files = '**/*.ios.{h,m,mm}'
-------------------------------------------
.
from /Users/mac/Desktop/WorkSpace/Rootchat/RootchatRN/ios/Podfile:29
-------------------------------------------
target 'rootsapp' do
-------------------------------------------
The text was updated successfully, but these errors were encountered: