question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-native-svg will not compile in a new tvOS project

See original GitHub issue

Description

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:closed
  • Created 2 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
douglowdercommented, Aug 14, 2021

This issue is resolved in https://www.npmjs.com/package/react-native-svg/v/12.2.0 – closing.

1reaction
adkaushikcommented, Aug 5, 2021

Downgrading the react-native-svg to version 12.1.0 fixes the issue for now

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found