【发布时间】:2019-08-05 03:08:48
【问题描述】:
我是 React-Native 的新手,我已手动将 react-native-vector-icons 库添加到 Xcode 和 Android 工作室。如果使用 Xcode 运行代码,它会成功执行,没有任何问题。但是如果我尝试从终端(react-native run-ios)运行代码,它会在模拟器中显示“无法识别的字体系列材料”。但是如果我运行命令(react-native run-android),这同样有效。
请帮助我。 这是终端Error Screen shot 中显示的错误
** BUILD FAILED **
The following build commands failed:
CompileC /Users/user/Documents/Test/JobsNProfiles/ios/build/Build/Intermediates.noindex/RNVectorIcons.build/Debug-iphonesimulator/RNVectorIcons.build/Objects-normal/x86_64/RCTFont+FA5.o /Users/user/Documents/Test/JobsNProfiles/node_modules/react-native-vector-icons/RNVectorIconsManager/RCTFont+FA5.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
【问题讨论】:
标签: react-native react-native-elements react-native-vector-icons