tomhagen / dribble2ReactNative

Trying to transform Dribbble designs to React-Native code. Happy Coding :)
6 stars 0 forks source link

Duplicate file .... when install react-native-vector-icons #3

Open tomhagen opened 4 years ago

tomhagen commented 4 years ago

The error look like:

Click to view

And more here:

Click to view

when install package React-native-vector-icons

React Native Version


   IDE:
         Android Studio: 3.6
         Xcode: 11.2

  NPM Packages:
        React 16.11.0
       React Native 0.62.1 
tomhagen commented 4 years ago

Step to fix:

  1. cd iOS and pod install
  2. cd.. and run react-native link
  3. Open project file ( .xcodeprj in iOS folder ) by Xcode , and go to
    • click main folder ( project name )
    • click project name ( under Targets )
    • Find build phases in the right corner area
    • Find Copy and Bundle Resources, you can see a lot of file .ttf, delete all .ttf file, close Xcode and run project again. Good luck :)