react-native-svg will not compile in a new tvOS project
See original GitHub issueDescription
If the react-native-svg package is added to a react-native-tvos project, the tvOS target will not compile. Thanks very much to @GantMan for finding this issue and bringing it to my attention!
React Native version:
0.63.4-0
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
react-native init TestSVG --template=react-native-tvos
cd TestSVG
yarn add react-native-svg
cd ios
pod install
cd ..
react-native run-ios --scheme='TestSVG-tvOS' --simulator='Apple TV'
Expected Results
New app should compile and launch in the tvOS simulator.
Actual Results
Compilation fails with several errors
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
9.10.0 Compile Error · Issue #1130 · software-mansion/react ...
Bug In xcode, building a debug release for the simulator with react-native-svg 9.10.0 I am getting the following error: Undefined symbols ...
Read more >Could not create task ':ReactAndroid:compileDebugKotlin'
I'm trying to upgrade react-native version from 0.61.5 to 0.70.5. I used react native upgrade helper. After some days i was done with...
Read more >Error: Build input file cannot be found - Apple Developer
I have tried to delete the folder and rebuilt, but got the same error. I wonder if someone have the same issue and...
Read more >7.0.3 - react-native-svg - npm
To install react-native-svg on iOS visit the link referenced above or do the following: Open your project in XCode and drag the RNSVG.xcodeproj ......
Read more >react-native-svg:compiledebugjavawithjavac - You.com
Task :react-native-svg:compileDebugJavaWithJavac FAILED #1067 - GitHub ... My other project has a much more verbose run output so I'm going to investigate ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This issue is resolved in https://www.npmjs.com/package/react-native-svg/v/12.2.0 – closing.
Downgrading the react-native-svg to version
12.1.0fixes the issue for now