ReactNative遇到的坑(持续更新中)
issue1:Requiring unknown module "undefined"
原因:导入组件时重复引用。
解决方案:https://github.com/facebook/react-native/issues/18179
【ReactNative遇到的坑(持续更新中)】issue2:ios打包archive报错:[React/RCTBridgeModule.h
file not found]
解决方案:
(https://stackoverflow.com/questions/41663002/react-rctbridgemodule-h-file-not-found)
issue3: React Native:真机断点调试+跨域资源加载出错问题解决
issue4:RN升级到0.60,ios编译报错:'double-conversion/double-conversion.h' file not found
解决方案:在错误目标target中,Build Phrase->Target Dependencies 和 Build Phrase ->Linke Binary with labraries中引入的库有效,如果引入的库显示
文章图片
企业微信20190715042121.png 这样的,请重新添加该库。之后,Build Settings->HEADER_SEARCH_PATHS里添加该库路径,clean后重新编译。
推荐阅读
- 热闹中的孤独
- JAVA(抽象类与接口的区别&重载与重写&内存泄漏)
- 放屁有这三个特征的,请注意啦!这说明你的身体毒素太多
- 一个人的旅行,三亚
- 布丽吉特,人生绝对的赢家
- 慢慢的美丽
- 尽力
- 一个小故事,我的思考。
- 家乡的那条小河
- 《真与假的困惑》???|《真与假的困惑》??? ——致良知是一种伟大的力量