React-Native 'RCTRootView.h' file not found AppDelegate.m
2017-12-31 21:41
459 查看
打开React-Native的项目时,报错:
’RCTRootView.h’ file not found AppDelegate.m 文件找不到;
cd 到我们该项目的根目录下;
npm install
执行完后,编译项目,看到还会提示错误: 在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);
再次运行即可.
相关文章推荐
- React-Native 'RCTRootView.h' file not found AppDelegate.m
- React Native 'boost/iterator/iterator_adaptor.hpp' file not found’解决方案
- react native 导入第三方连接库,Orientation.h file is not found
- Caused by: java.lang.ClassNotFoundException: Didn't find class "** *** ** **" on path: DexPathList[[zip file "/data/app/*** *** ***-2/base.apk"],nativeLibraryDirectories
- ReactNative Ios报出 'React/RCTBundleURLProvider.h' file not found错误
- ReactNative出现错误问题'React/RCTBridgeModule.h' file not found
- ios react native 手动配置 realm 使用cocoapods 会编译报错 fatal error: 'React/RCTBridge.h' file not found
- [React-native] 报React/RCTBridgeModule.h' file not found
- React Native 日常报错 'config.h' file not found
- Cordova/CDVViewController.h file not found解决办法
- Cordova/CDVViewController.h file not found 解决办法
- xcode archived issue:'Cordova/CDVViewController.h' file not found
- 运行.xcworkspace项目后报错:'React/RCTBundleURLProvider.h’ file not found
- Cordova/CDVViewController.h file not found 解决办法
- React Native SDK location not found
- react-native 启动服务器时候报错Could not install the app on the device, read the error above for details.
- ReactNative报出 'React/RCTBundleURLProvider.h' file not found错误
- java.io.FileNotFoundException: /exapp/hadoop/name/current/VERSION (Permission denied)
- file not found: /Users/iOS/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/a.app/a
- react native 真机调试appdelegate.m找不到ip地址的处理