ignoring duplicated output file:
See original GitHub issueHello, 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:
- Created 4 years ago
- Reactions:9
- Comments:7
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 !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.