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.

Unrecognized font family only with react-native run-ios

See original GitHub issue

Basically, my settings work if I build and run in xcode 7.2 Rather than if I’m use react-native run-ios I got Unrecognized font family.

any idea? Cheers

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:25
  • Comments:61 (2 by maintainers)

github_iconTop GitHub Comments

427reactions
brandonmwestcommented, Nov 29, 2016

react-native link react-native-vector-icons solved it for me.

104reactions
n8stowell82commented, May 13, 2016

Hello. I am sorry for raising a dead thread, but I have run into this exact problem, however the fix listed here does not apply (at least I don’t think it does).

Here is my situation. The app has had this package installed and working fine for awhile now with only 1 custom iconFont for our company. Recently we have needed to branch out, so I added the FontAwesome font to the project. I followed all of the steps and everything works great if you run from xcode. I also completely removed the package and reinstalled using rnpm but got the same result. I have tried reseting npm cache, deleting node_modules folders and reinstalling everything, killing tempdir, and deleting xcode project derived data. I am out of options. Any help would be greatly appreciated!

screen shot 2016-05-13 at 2 24 01 pm screen shot 2016-05-13 at 2 24 33 pm screen shot 2016-05-13 at 2 24 53 pm
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unrecognized font family on iOS simulator with React Native
Double check the font files are included in the Target in XCode · Make sure they are included in the step "Copy Bundle...
Read more >
Unrecognized font family only with react-native run-ios #945
MacOS Mojave, react-native run-ios "unrecognised font family 'font awesome'" This issue was created before #135 . But closed.
Read more >
How to fix Unrecognised font family error in React Native - Des
This error occurs due to improper integration of the font/icon to Xcode or your code base. Firstly, go to your react native project,...
Read more >
unrecognized font family ios react native - You.com
There are a few steps you should take: Double check the font files are included in the Target in XCode. Make sure they...
Read more >
[Solved]-React-native unrecognized font family error
After adding the custom fonts, you need to link it using react-native link . That will create an entry in Info.plist file (iOS) ......
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