ios build fails: library not found for -lRNSVG-tvOS
See original GitHub issueBuild is failing for ios only, configuration seems to work fine on android.
There seems to be a failed ref to RNSVG-tvOS.
React Native v 0.45.1
My installation steps were: npm install react-native-svg --save react-native link react-native run-ios
react-native link output looked successful. when i re-run, the output is:
rnpm-install info Android module react-native-svg is already linked
rnpm-install info iOS module react-native-svg is already linked
build fails mid-way, result is:
ld: library not found for -lRNSVG-tvOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:16
- Comments:11
Top Results From Across the Web
ios build fails: library not found for -lRNSVG-tvOS #366 - GitHub
Build is failing for ios only, configuration seems to work fine on android. There seems to be a failed ref to RNSVG-tvOS.
Read more >react-native library not found for -lRNSVG-tvOS - Stack Overflow
I know nothing about ios-development and Xcode environment. When i run react-native run-ios i see this error: ld: library not found for ......
Read more >I am trying to use SwiftSVG framew… | Apple Developer Forums
1. build the SwiftSVGiOS framework. 2. drag the SwiftSVGiOS.framework to my project's Embedded Binaries category. 3. a) drag a view to Main.storyboard.
Read more >Library not found for -lBabylonNative in iOS Xcode - Questions
We ran “xcodebuild” command but it exited with error code 65. " and when I open Playground.xcworkspace directly in the Xcode 12.5.1 and...
Read more >Renovate Bot Package Diff
-8,20 +8,20 @@ Lottie is a mobile library for Android and iOS that parses ... echo ERROR: JAVA_HOME is not set and no...
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 FreeTop 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
Top GitHub Comments
If it helps anyone, I was able to get the build to work by removing the reference to RNSVG-tvOS, found in the last line of the PBXBuildFile section of my project.pbxproj file (ios/projectname/projectname.xcodeproj/project.pbxproj)
Once I removed that line, the build worked as normal.
Not the ideal fix, but a workaround if anyone is blocked by this issue.
This is caused by a bug in react-native link, fix will be merged soon: https://github.com/facebook/react-native/issues/13783