Unrecognized font family 'sans-serif' React-Native

Viewed 136

when start app into iOS (Emulator or real device) it throws this error:

"Unrecognized font family 'sans-serif'

But in nowhere am using it. I have linked all my fonts in the Into.plist

If i search all the references with 'sans-serif' in the Visual Studio Code, the only place where appears that font its in the index.android.bundle

That error only happend with the iOS compile, with Android dont have this problem.

Versions:

  • Node.js v14.16.1.
  • react-native-cli: 2.0.1
  • react-native: 0.59.4
  • MacOS: 10.15.7
  • Xcode: 12.4 (12D4e)

I tried linked the fonts, but dont have the font file to link.

Dont know what to do.

0 Answers
Related