项目中集成了Ant Design Mobile RN. 在安装过程中link字体:
react-native link @ant-design/icons-react-native
报错:
info Linking assets to ios project
error Something went wrong while linking. Error: Expected "/* Begin ", "/*", "\"", "}", or [A-Za-z0-9_.] but "<" found.
Please file an issue here: https://github.com/react-native-community/react-native-cli/issues
error Expected "/* Begin ", "/*", "\"", "}", or [A-Za-z0-9_.] but "<" found.. Run CLI with --verbose flag for more details.
请教一下这个问题该如何解决,先谢谢各位大佬~
找到问题,完全是因为粗心的原因,合并分支时文件有了冲突,但是因为没有报错提示所以想当然的以为没有冲突,碰到类似问题的朋友可全局搜索 <<< >>> 类似这样的关键词排查一下是不是冲突问题。