react-native link react-native-svg
したらこんなエラー出てリンクできませんでした。
$react-native link react-native-svg
rnpm-install info Linking react-native-svg ios dependency
rnpm-install ERR! Something went wrong while linking. Error: Cannot read property 'match' of undefined
Please file an issue here: https://github.com/facebook/react-native/issues
Cannot read property 'match' of undefined
TypeError: Cannot read property 'match' of undefined
解決方法は Podfile
の末尾に次の1行を追加すること。
# Add new pods below this line
参考
https://medium.com/@sroze/react-native-cannot-read-property-match-of-undefined-997091a019ea