corymsmith / react-native-icons

Quick and easy icons in React Native
MIT License
1.14k stars 141 forks source link

FontAwesome doesn't work without adding ionicons.ttf? #142

Closed simonexmachina closed 8 years ago

simonexmachina commented 8 years ago

I followed the instructions, added foundation-icons.ttf and ran the project from Xcode but it crashed on launch with the following error:

2015-11-29 16:55:01.645 ReactNativeIconsTest[94365:5697032] *** Assertion failure in +[FAKIonIcons registerIconFontWithURL:], /Users/simonwade/Temp/ReactNativeIconsTest/node_modules/react-native-icons/ios/ReactNativeIcons/Libraries/FontAwesomeKit/FAKIcon.m:14
2015-11-29 16:55:01.653 ReactNativeIconsTest[94365:5697032] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Font file doesn't exist'

I fixed this by adding ionicons.ttf to the Bundle Resources.

simonexmachina commented 8 years ago

This is my bad. I was actually asking for ion|beer.