question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ignoring duplicated output file:

See original GitHub issue

Hello, it looks like with the latest React Native .60 version as well as latest vector-icons, react-native link react-native-vector-icons is mandatory. even though the latest rn version automatically links ‘most’ packages.

I basically get the error below because i manually linked it, and it looks like during the build process it tries to link it again make, so i get a ton of warnings about ignoring a try to make a duplicate copy of the file. if i do react-native unlink react-native-vector-icons. The warnings go away but then i get “module FontAwesome not found”

ignoring duplicated output file: ios/build/bare_rn_illum/Build/Products/Debug-iphonesimulator/bare_rn_illum.app/AntDesign.ttf' in shell script build phase '[CP] Copy Pods Resources'. This warning represents an extremely serious project misconfiguration and will likely cause some shell scripts in your project to be skipped entirely, leading to other build failures or missing files in the build directory. This will be a hard error in the future. (in target 'bare_rn_illum')

Let me know what you think

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:9
  • Comments:7

github_iconTop GitHub Comments

7reactions
lucasriondelcommented, Oct 2, 2019

To anyone on 0.6x who would like to use this package, do a yarn add react-native-vector-icons && cd ios/ && pod install && cd .. then include the lines mentionned in @dbeff comments. Works like a charm !

7reactions
dbeffcommented, Nov 8, 2019

In my case, after unlinking the package and adding the fonts to the Info.plist it started to work again. The autolink feature of React Native 0.6x is already provinding all fonts I just had to include on the Info.plist file as explained here.

<key>UIAppFonts</key>
<array>
  <string>AntDesign.ttf</string>
  <string>Entypo.ttf</string>
  <string>EvilIcons.ttf</string>
  <string>Feather.ttf</string>
  <string>FontAwesome.ttf</string>
  <string>FontAwesome5_Brands.ttf</string>
  <string>FontAwesome5_Regular.ttf</string>
  <string>FontAwesome5_Solid.ttf</string>
  <string>Foundation.ttf</string>
  <string>Ionicons.ttf</string>
  <string>MaterialIcons.ttf</string>
  <string>MaterialCommunityIcons.ttf</string>
  <string>SimpleLineIcons.ttf</string>
  <string>Octicons.ttf</string>
  <string>Zocial.ttf</string>
</array>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode warning: "Multiple build commands for output file"
This error message occurs when you have several files in your project that have the same name. You just have to delete or...
Read more >
Code Inspection: Ignore file duplicates - PhpStorm - JetBrains
Suppress an inspection in the editor. Position the caret at the highlighted line and press Alt+Enter or click the Intention action icon ....
Read more >
"Duplicate output file"/"Unable to build node" for localized folders
The folders only show up once in the Copy Bundle Resources phase. But the build stops almost immediately on this error.
Read more >
"1 Files will be ignored. These files may exist in the project or ...
These files may exist in the project or have duplicate output file name" when combining multiple e57 scans in ReCap Pro. By: Support....
Read more >
Finding duplicate files by name ignoring the case in ...
You can replace the . in the two find commands with /path/to/your/files if you want the output to show the full path and/or ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found