-
-
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
ios build fails: library not found for -lRNSVG-tvOS #366
Comments
I have the same issue! After the error "linker is failed" I get the error ":CFBundleIdentifier", Does Not Exist. But Android works fine. Also I even create a new pure react-native project with react-native init .. .It works well, but when I add a react-native-svg package to package.json and link it I get the same error. |
I just received this error. I was re-linking my app this morning from a fresh install. It is possible this was introduced in the past couple of days. |
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. |
Downgrade my react-native app and react-native-svg works for me |
I also removed the reference to RNSVG-tvOS in the project.pbxproj and it worked (react-native@0.45.1), thanks @whiskeyseven! |
I tried @whiskeyseven's approach, but for me it didn't work until I removed all references to libRNSVG in the project.pbxproj file. That got the build to succeed. |
Tried @whiskeyseven's solution and while the build was successful, I ended up with this error |
Ah ! Never mind, I got it working finally. Turns out I had installed mismatching version of I've got the following |
Confirming that the above approach worked as expected There's further details on the react-native-svg readme
|
duplicated with: #387 |
This is caused by a bug in react-native link, fix will be merged soon: facebook/react-native#13783 |
Build 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:
build fails mid-way, result is:
The text was updated successfully, but these errors were encountered: