ios - 找不到 'glog/logging.h'文件怎么解决

标签 ios react-native reactive-programming

我开始一个 react-native 的新项目或者当我安装模块时在编译时出现错误,请帮助我如何解决这个问题。

最佳答案

希望这对您有帮助请按照以下步骤操作:-

1)请在node-modules文件夹中检查你的react-native是否安装完整(如果安装不完整请重新安装)

2) 转到系统(或)项目路径的根目录(您在计算机路径中安装 npm 的位置)

3) 在终端 cd ./node_modules/react-native && scripts/ios-install-third-party.sh && cd third-party && cd $(ls | grep 'glog' | awk '{print $1}') && ./configure 我的问题已解决

关于ios - 找不到 'glog/logging.h'文件怎么解决,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54919716/

相关文章:

ios - UINavigationController ios7 - NavTab 在 View 前面

android - 如何修复任务 ':react-native-smart-splashscreen:verifyReleaseResources' 执行失败

RxJS - 在 onNext 发生错误后继续发送通知

java - RxJava : dynamically create Observables and send the final resut as Observable

android - FlatList 不在 Android 模拟器上滚动

java - Spring webflux : keeping an EntityManager open during the whole process of a reactive request handling

iphone - iOS 应用程序窗口未初始化

ios - 尚未购买的 IAP 正在恢复中

ios - 转换矩形 :toView doesn't return expected window coordinates

reactjs - 如何将状态传递给 React Native 组件