I'm trying to run a react-native project using the command react-native run-ios but I'm getting the following errors:
Build system information
error: Multiple commands produce '/Users/prikshetsharma/Library/Developer/Xcode/DerivedData/Humboi-hjbrwqprmopoeybrdkwevgblfvis/Build/Products/Debug-iphonesimulator/Humboi.app/EvilIcons.ttf':
1) Target 'Humboi' (project 'Humboi') has copy command from '/Users/prikshetsharma/Desktop/Humboi/node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf' to '/Users/prikshetsharma/Library/Developer/Xcode/DerivedData/Humboi-hjbrwqprmopoeybrdkwevgblfvis/Build/Products/Debug-iphonesimulator/Humboi.app/EvilIcons.ttf'
2) That command depends on command in Target 'Humboi' (project 'Humboi'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/prikshetsharma/Library/Developer/Xcode/DerivedData/Humboi-hjbrwqprmopoeybrdkwevgblfvis/Build/Products/Debug-iphonesimulator/Humboi.app/Entypo.ttf':
1) Target 'Humboi' (project 'Humboi') has copy command from '/Users/prikshetsharma/Desktop/Humboi/node_modules/react-native-vector-icons/Fonts/Entypo.ttf' to '/Users/prikshetsharma/Library/Developer/Xcode/DerivedData/Humboi-hjbrwqprmopoeybrdkwevgblfvis/Build/Products/Debug-iphonesimulator/Humboi.app/Entypo.ttf'
2) That command depends on command in Target 'Humboi' (project 'Humboi'): script phase “[CP] Copy Pods Resources”
... (and so on)
warning: duplicate output file '/Users/prikshetsharma/Library/Developer/Xcode/DerivedData/Humboi-hjbrwqprmopoeybrdkwevgblfvis/Build/Products/Debug-iphonesimulator/Humboi.app/Feather.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/prikshetsharma/Library/Developer/Xcode/DerivedData/Humboi-hjbrwqprmopoeybrdkwevgblfvis/Build/Intermediates.noindex/Humboi.build/Debug-iphonesimulator/Humboi.build/Script-725F34421484E3F6E70FFBB5.sh (in target 'Humboi' from project 'Humboi')
warning: duplicate output file '/Users/prikshetsharma/Library/Developer/Xcode/DerivedData/Humboi-hjbrwqprmopoeybrdkwevgblfvis/Build/Products/Debug-iphonesimulator/Humboi.app/FontAwesome.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/prikshetsharma/Library/Developer/Xcode/DerivedData/Humboi-hjbrwqprmopoeybrdkwevgblfvis/Build/Intermediates.noindex/Humboi.build/Debug-iphonesimulator/Humboi.build/Script-725F34421484E3F6E70FFBB5.sh (in target 'Humboi' from project 'Humboi')
...(and so on)
How to fix the errors and the warnings?
Go to Xcode project:
For full installation of react-native-vector-icons follow this guide: React Native Vector Icons

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With