简体   繁体   English

React-native-vector-icons ios错误

[英]React-native-vector-icons ios error

I get the following error: 我收到以下错误:

RNVectorIconsManager not available, did you add library to your project and link with libRnVectorIcons.a RNVectorIconsManager不可用,您是否已将库添加到项目中并与libRnVectorIcons.a链接

after npm installing the React-native-vector-icons and running react-native link. 在npm之后安装React-native-vector-icons并运行react-native链接。 I am using react-native v0.42, react-native-vector-icons v4.0.0 and Xcode v8.2.1. 我正在使用react-native v0.42,react-native-vector-icons v4.0.0和Xcode v8.2.1。 I have checked plist and it has all the fonts in array. 我检查过plist,它包含了数组中的所有字体。 and libRNVectorIcons.a is showing under build phases but it is red. 和libRNVectorIcons.a显示在构建阶段,但它是红色的。 see image: 看图像: 在此输入图像描述

尝试在终端中运行react-native link react-native-vector-icons

The broken file: https://github.com/facebook/react-native/blob/master/local-cli/core/ fixtures /files/package.json 破碎的文件: https//github.com/facebook/react-native/blob/master/local-cli/core/ fixtures /files/package.json

Try running react-native link 尝试运行react-native link

or simply remove the above broken file and restart your xcode. 或者只是删除上面损坏的文件并重新启动您的xcode。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 安装 react-native-vector-icons 并在 ios 上运行 pod update 后出现无效的 UIAccessibilitys &#39;tablist&#39; 错误 - Invalid UIAccessibilitys 'tablist' error after installing react-native-vector-icons and running pod update on ios 安装 react-native-vector-icons 时 React Native iOS 构建问题 - React Native iOS build issues while installing react-native-vector-icons 不从 react-native-vector-icons/FontAwesome 加载图标 - Not loading Icons from react-native-vector-icons/FontAwesome 如何将react-native-vector-icons链接到项目 - How to link react-native-vector-icons to project 无法解析模块“react-native-vector-icons/AntDesign” - Unable to resolve module 'react-native-vector-icons/AntDesign'' 添加失败。 反应本机矢量图标 - failed to add. react-native-vector-icons 来自 react-native-vector-icons onpress 的图标需要单击两次才能工作 - Icons from react-native-vector-icons onpress needs to click twice to work 未找到反应原生矢量图标的RCTfont + FA5.h文件 - RCTfont+FA5.h file not found for react-native-vector-icons node_modules/react-native-vector-icons/lib/create-icon-set.js: #<weakset> 无法克隆</weakset> - node_modules/react-native-vector-icons/lib/create-icon-set.js: #<WeakSet> could not be cloned 无法识别的字体系列材料? 在 React-Native Vector Icons IOS 唯一问题 - Unrecognized font-family material? in React-Native Vector Icons IOS only issue
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM