Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Getting build error after linking fonts and running npm run ios

$
0
0

I was trying to link fonts in my project. What I did was after copying the fonts in my assets/fonts folder, I followed the instructions as here

But after linking when I ran, npm run ios --clear--cache, I got an error:

Multiple commands produce '/Users/vibhorgoyal/Library/Developer/Xcode/DerivedData/premierApp-hfvopumdujembydyabljpmaxyrpx/Build/Products/Debug-iphonesimulator/premierApp.app/Zocial.ttf':    1) Target 'premierApp' (project 'premierApp') has copy command from '/Users/vibhorgoyal/Workspace/WebstormProjects/premierApp/node_modules/react-native-vector-icons/Fonts/Zocial.ttf' to '/Users/vibhorgoyal/Library/Developer/Xcode/DerivedData/premierApp-hfvopumdujembydyabljpmaxyrpx/Build/Products/Debug-iphonesimulator/premierApp.app/Zocial.ttf'    2) That command depends on command in Target 'premierApp' (project 'premierApp'): script phase “[CP] Copy Pods Resources”

Please help me identifying the issue.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>