-
Notifications
You must be signed in to change notification settings - Fork 260
Build failed in RN 0.45.1 (iOS) #169
Comments
After unlinking react-native-svg, app starts normally but with RNSVG not found error. |
I also encountered the same problem.
|
There's an incompatibility problem between the version of react-native-svg this lib uses (~5.2.0) and the react-native-svg version (~5.3.0) that is compatible with the latest stable react-native version (0.46.1). Once #170 gets completed, merged in, and a new version of this lib gets pushed to npm, hopefully the errors seen on this issue will disappear. |
@marzolfb Thanks for answer, how much time do you estimate for these actions? |
@sajjadrad Just pushed a new version to npm a little bit ago. Give it a try and let me know how it goes. |
@marzolfb I upgraded your package to 0.0.30 and rn-svg to 5.3 but I have same error after linking while building. |
I will likely need some more details to help. What are your installed versions of dependencies - what is the out of this
? Also, what is your Xcode version? Also, I assume you experience this with your own app and trying to use this library but have you tried building/running the example app? Do you experience the same issue? |
Xcode 8.3.1 Example app works properly. I think I have problems with react-native-svg package. It installed twice 🤔 |
I uninstalled react-native-pathjs-charts and react-native-svg and install react-native-pathjs-charts again. this is my list output now:
After linking react-native-svg with |
What happens if you start from scratch:
Same error? What other troubleshooting steps have you tried? Is there any more to the error chain that could be helpful? |
Same error after linking, and run ok after unlink react-native-svg |
What are the differences between the example app and your app? Is the source/package.json for your app available somewhere publicly that I (and/or others) could try to reproduce the problem you are experiencing? |
Hi,
I have some problems in building in xcode. First there was some errors about importing React in RNSVG. after solving that now this error occurs:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This happened after linking react-native-svg.
xcodebuild command:
The following build commands failed: CompileC build/Foo.build/Release-iphonesimulator/foo.build/Objects-normal/x86_64/AppDelegate.o foo/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
react-native run-ios command:
The following build commands failed: Ld build/Build/Products/Debug-iphonesimulator/Foo.app/Foo normal x86_64
RN : 0.45.1
iOS
The text was updated successfully, but these errors were encountered: