gpt4 book ai didi

swift - 无法识别的字体系列 'FontAwesome5Free-Solid'

转载 作者:行者123 更新时间:2023-11-30 10:39:25 26 4
gpt4 key购买 nike

这件事突然发生,我不知道发生了什么。

我开始运行我的应用程序并收到此错误:

enter image description here

我相信它来自react-native-vector-icons。

我尝试切换到旧版本的react-native-vector-icons,但仍然收到相同的结果。

我还尝试卸载react-native-vector-icons,当我这样做时,我收到编译错误。

** BUILD FAILED **


The following build commands failed:
CompileC /Users/lukeschoenberger/Documents/Programming/news-
arg/test6/ios/build/test6/Build/Intermediates.noindex/Pods.build/Debug-
iphonesimulator/RNVectorIcons.build/Objects-
normal/x86_64/RNVectorIconsManager.o
/Users/lukeschoenberger/Documents/Programming/news-
arg/test6/node_modules/react-native-vector-
icons/RNVectorIconsManager/RNVectorIconsManager.m normal x86_64
objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

我现在陷入了困境。

编辑:

链接react-native-vector-desing并清除构建文件夹后,我收到此错误:

Build system information
error: Multiple commands produce '/Users/lukeschoenberger/Documents/Programming/news-arg/test6/ios/build/test6/Build/Products/Debug-iphonesimulator/test6.app/AntDesign.ttf':
1) Target 'test6' (project 'test6') has copy command from
'/Users/lukeschoenberger/Documents/Programming/news-
arg/test6/node_modules/native-base/Fonts/AntDesign.ttf' to
'/Users/lukeschoenberger/Documents/Programming/news-
arg/test6/ios/build/test6/Build/Products/Debug-
iphonesimulator/test6.app/AntDesign.ttf'

2) Target 'test6' (project 'test6') has copy command from
'/Users/lukeschoenberger/Documents/Programming/news-
arg/test6/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf' to
'/Users/lukeschoenberger/Documents/Programming/news-
arg/test6/ios/build/test6/Build/Products/Debug-
iphonesimulator/test6.app/AntDesign.ttf'

** BUILD FAILED **

最佳答案

图标模块似乎未正确链接。

您可以尝试react-native链接react-native-vector-icons

如果这不是解决方法,

删除iOS文件夹下build文件夹中的所有项目。然后使用 react-native run-ios 重建项目。

关于swift - 无法识别的字体系列 'FontAwesome5Free-Solid',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57193816/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com