How to use RN-VectorIcons library in REACT-NATIVE CLI

송지혁
1 min readOct 12, 2019

--

When using Rn-vectorIcons, there are errors. when i am building the app.

One of the error is this

‘Multiple targets match implicit dependency for linker flag ‘-lRNVectorIcons’. Consider adding an explicit dependency on the intended target to resolve this ambiguity’

In this situation i cannot build. Even though i did

(react-native version >0.60)

$ npm install react-native-vector-icons — save

$ cd ios

$ pod install

I actually do not know why

I solved this problem by remove all fonts asset in copy in (Build Phases > copy bundle Resources).

I just assume that the font in there is colliding with the pod.

After that the icons work well for you.

happy coding~!

--

--