React-Native 'RCTRootView.h' file not found AppDelegate.m
来源:互联网 发布:seo 优化 标题怎么优化 编辑:程序博客网 时间:2024/05/17 21:08
1.有时在打开React-Native的项目时,会报错:’RCTRootView.h’ file not found AppDelegate.m 文件找不到;
2.cd 到我们该项目的根目录下;
//执行$npm install
3.执行完后,编译项目,看到还会提示错误: 在RCTSRWebSocket.m报错Ignoring return value of function declared with warn_unused_result attribute
两处的报错代码:SecRandomCopyBytes(kSecRandomDefault, sizeof(uint32_t), (uint8_t *)mask_key);
//解决办法分别在两出代码前面加上void(void)SecRandomCopyBytes(kSecRandomDefault, sizeof(uint32_t), (uint8_t *)mask_key);
再次运行,即可运行成功.
2 0
- React-Native 'RCTRootView.h' file not found AppDelegate.m
- [React-native] 报React/RCTBridgeModule.h' file not found
- [React-native] 报React/RCTBridgeModule.h' file not found
- React Native 日常报错 'config.h' file not found
- 'React/RCTBundleURLProvider.h’ file not found
- ios react native 手动配置 realm 使用cocoapods 会编译报错 fatal error: 'React/RCTBridge.h' file not found
- 创建React Native项目后引用#import "RCTRootView.h"提示找不到
- React Native 'boost/iterator/iterator_adaptor.hpp' file not found’解决方案
- ReactNative出现错误问题'React/RCTBridgeModule.h' file not found
- ReactNative报出 'React/RCTBundleURLProvider.h' file not found错误
- RN项目报错“React/RCTBundleURLProvider.h” file not found
- 运行.xcworkspace项目后报错:'React/RCTBundleURLProvider.h’ file not found
- .h file not found
- react-native: command not found
- vector.h file not found
- xxx.h file not found
- iOS 【AppDelegate.h/.m】
- 解决React Native 运行在ios上报'boost/iterator/iterator_adaptor.hpp' file not found'错误
- wikioi 2315 longge的问题 2012年省队选拔赛山东(欧拉函数应用)
- python读取excel数据
- HTML5十五大新特性
- vue里一些问题
- 杂乱数据点滴笔记
- React-Native 'RCTRootView.h' file not found AppDelegate.m
- 欢迎使用CSDN-markdown编辑器
- scrapyd部署总结
- [NOIP 2011] 聪明的质检员:二分,前缀和
- 【codevs 1057】津津的储蓄计划
- Apache Spark 2.0正式版发布下载
- Android 系统设置中显示设置之休眠和屏保设置篇
- Activity与Fragment之间的传值
- NOIP停课以来比赛总结