LoginSignup
0
0

More than 5 years have passed since last update.

[エラー]'RNSVGLinearGradient' was not found in the UIManager [React Native]

Posted at

'RNSVGLinearGradient' was not found in the UIManager の解決方法

類似のエラーについての記事はいくつかあったが、英語だったり中国語だったりしたので日本語でも書いておきます。
[参考記事]
https://github.com/indiespirit/react-native-chart-kit/issues/26
https://www.cnblogs.com/shaoting/p/8085136.html

 結論

手動でライブラリをリンクすればよい

具体的な方法

  1. xcodeでプロジェクトを開く
  2. Libraries -> Add Files to [プロジェクト名] スクリーンショット 2018-11-27 11.56.40.png
  3. node_modules / react-native-svg / ios / RNSVG.xcodeprojを追加
  4. プロジェクト名をクリックして、Generalの中〜下段にある Linked Frameworks and Libraries に libRNSVG.aを追加
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0