Closed PurnimaNaik closed 5 years ago
react-native link react-native-svg
does not work.
Open your project in XCode and drag the RNSVG.xcodeproj file (located in .../node_modules/react-native-svg/ios) into the Libraries directory shown in XCode.
Expand the RNSVG.xcodeproj file you just added to XCode until you see: libRNSVG.a (located in RNSVG.xcodeproj > Products )
Drag libRNSVG.a into the Link Binary With Libraries section (located in Build Phases which may be found at the top of the XCode window)
android ?
Getting
Invariant Violation: requireNativeComponent: "RNSVGDefs" was not found in the UImanager.
with a red screen for my React-native app. Have addedreact-native-svg
, modified the pod files. IAny leads??