React Native 0.61.4 and react-native-vector-icons 6.6.0
Xcode 11.3
Android version works fine, but iOS doesn't
I tried everything, I think.
If I do only pods install, then I get unrecognized font family X.
Okay.
I go to Xcode and drag fonts folder, I get an error duplicate output.
Okay.
I remove either a line from pods file or remove fonts folder
unrecognized font family X
Okay.
I tried only using either one of these. Pods, or adding Fonts folder, or react-native link. But I get unrecognized font family X. Then if I try to use one more way, I get duplicate output and it doesn't build.
I've been struggling with this issue for 2 days now. In the meanwhile, android version works perfectly fine and displays all the fonts after I copied the fonts to android folder. But I can't get iOS to work.
I didn't understand what was going on exactly, but I found the cause. For some reason, when I was building iOS version, everything from Info.plist was removed. It would happen right before my eyes several times. This caused the unrecognized font family issue. But if I used more than one way to add fonts, it would obviously complain about duplicate output.
Anyway, I got it all sorted out and it works now.
@irondsd I feel you should say how you were able to fix your issue so others with a similar issue can adopt your solution 聽馃檪
@irondsd I feel you should say how you were able to fix your issue so others with a similar issue can adopt your solution 聽馃檪
Frankly, I don't know. I unlinked everything, uninstalled the library, installed it again clean, and it worked the first time.
If anyone happens upon this, I had the same issue.
To fix the duplicate problem, see this solution
For the unrecognized Font Family, this for me meant adding all of the fonts being used to info.plist

I was doing this before using Vscode and for some reason info.plist wasn't being saved. Try adding this modification directly in Xcode
Most helpful comment
Frankly, I don't know. I unlinked everything, uninstalled the library, installed it again clean, and it worked the first time.