[React Native 日常错误记录] 'config.h'

2019-05-08  本文已影响0人  Buddha_like

[React-native 踩坑全集 问题记录]

  1. 删除 rncache, 清理缓存文件
$ rm -rf node_modules/ && yarn cache clean && yarn install and rm -rf ~/.rncache

2.在 rncache 文件夹中 安装第三方文件

$ cd node_modules/react-native/scripts
$ ./ios-install-third-party.sh
  1. Xcode clean 一下项目 从新编译即可
上一篇 下一篇

猜你喜欢

热点阅读