react-native-vector-icons: TabBar cannot work.

015-10-28 21:59:30.439 [error][tid:com.facebook.React.RNVectorIconsManagerQueue][RCTBatchedBridge.m:815] Exception thrown while invoking getImageForFont on target RNVectorIconsManager with params (
    Ionicons,
    "\Uf448",
    30,
    4278190080,
    11
): *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

You have a syntax error in your example: }}, but I assume it’s an artifact from cleaning up your code.

  • Check that you added your custom font to your project (not in a folder, but in a group).
  • Check that it’s referred to in your Info.plist.
  • Try without the selectedIconName prop.
  • Try to pass a second fontFamily argument when creating the icon.