'config.h' file not found 的解决方法以及可能遇到的问题
运行Xcode 出现 'config.h' file not found
问题一解决方法:
1、cd node_modules/react-native/third-party/glog-0.3.4
2、在glog-0.3.4目录下执行命令 ../../scripts/ios-configure-glog.sh
接下去是转发自https://www.jianshu.com/p/48de6bd7d7f4 这位博主的方案:
这里可能会出现以下问题二
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
问题二解决方案:打开终端输入 xcode-select --install
回车后,系统弹出下载xcode,点击确认,下载完成后即可。(实际上不是下载xcode,可能下载xcode有关插件,下载时长约1分钟)
然后运行
1、cd node_modules/react-native/third-party/glog-0.3.4
2、../../scripts/ios-configure-glog.sh
可能出现以下第三个问题
以上问题出现在Xcode 项目build的过程中,错误提示Xcode路径定位错误,那就通过命令行重新指定Xcode路径,网上有人说是安装过多个Xcode版本的缘故
解决方案:
终端运行:sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
然后再运行
1、cd node_modules/react-native/third-party/glog-0.3.4
2、../../scripts/ios-configure-glog.sh
'config.h' file not found 的解决方法以及可能遇到的问题相关推荐
- Qt编译错误“GL/gl.h:No such file or directory”的解决方法
Qt编译错误"GL/gl.h:No such file or directory"的解决方法 参考文章: (1)Qt编译错误"GL/gl.h:No such file o ...
- 遇见Python.h: No such file or directory的解决方法
遇见Python.h: No such file or directory的解决方法 参考文章: (1)遇见Python.h: No such file or directory的解决方法 (2)ht ...
- Parsing error: No Babel config file detected for xxx Either disable config file checking...报错解决方法
Parsing error: No Babel config file detected for xxx Either disable config file checking-报错解决方法 使用Vu ...
- xlrd.biffh.XLRDError: Excel xlsx file; not supported解决方法
xlrd.biffh.XLRDError: Excel xlsx file: not supported解决方法 在运用python中xlrd库读取.xlsx文件时报错,无法读取.这是由于当前pyth ...
- Linux执行可执行文件提示No such file or directory的解决方法
Linux执行可执行文件提示No such file or directory的解决方法 查阅资料后,原因是系统位数与该可执行文件需要的lib库位数不匹配. 用uname命令打印系统信息,发现系统是6 ...
- 安卓(android)建立项目时失败,出现Android Manifest.xml file missing几种解决方法?...
安卓(android)建立项目时失败,出现AndroidManifest.xml file missing几种解决方法? Eclipse新建项目,遇到这样的问题,注意如下: 1.文件名最好不要用中文. ...
- python打包软件后报错 :SyntaxError: Non-UTF-8 code starting with ‘\x90‘ in file 的原因及解决方法
本篇文章主要讲解,python打包软件后报错 :SyntaxError: Non-UTF-8 code starting with '\x90' in file 的原因及解决方法 作者:任聪聪 报错说 ...
- 安卓(android)建立项目时失败,出现Android Manifest.xml file missing几种解决方法?(总结中)
安卓(android)建立项目时失败,出现Android Manifest.xml file missing几种解决方法?(总结中) 参考文章: (1)安卓(android)建立项目时失败,出现And ...
- PHP no input file specified 三种解决方法
PHP no input file specified 三种解决方法 参考文章: (1)PHP no input file specified 三种解决方法 (2)https://www.cnblog ...
最新文章
- 厉害了,ES 如何做到几十亿数据检索 3 秒返回!
- 海信最后的倔强,激光电视最终难逃“过渡产品”的命运?
- web.xml中配置web监听器
- Ukiyo-e faces dataset 浮世绘面孔数据集
- DecimalFormat很强大
- Java List集合转换相关操作
- java睡眠后继续执行_Java高级编程基础:如何使用线程的休眠,中断和连接
- SAP License:FI疑难问题小结
- 帮助类之自动解析表达式判定结果方法类
- InnoDB存储引擎概念与原理解析
- DM6437 平台概况
- 山特服务器硬盘480g,【02311VHS N480SSDW2SPA 480GB SATA SSD 华为服务器固态硬盘】价格_厂家 - 中国供应商...
- C语言中计算字符串长度的函数
- java-net-php-python-23jspm在线学习设计计算机毕业设计程序
- DruidDataSource - abandon connection, owner thread: 错误原因
- 【软件质量】-01-缺陷严重等级定义
- iOS 初中级工程师简历指北
- springmvc的过滤器--Filter
- 非平稳信号的频谱分析方法---(短时傅立叶变换)
- Netty 数据传输载体 —— ByteBuf
热门文章
- 黄健翔激情解说--修改版
- 小程序组件-仿微信通讯录
- 服务器无限指令箱子,我的世界箱子无限指令 | 手游网游页游攻略大全
- GIt上传到远程库Gitee出现的问题,需要身份表明和私人邮箱的问题
- 10个有关快门的必学知识
- RTMPLive多流媒体协议转无插件直播协议(RTMP)解决方案
- 直播网络 的协议选择
- 互联网无插件直播流媒体服务器方案EasyNVR下载新的软件执行程序,出现“invalid license”字样是什么意思?
- 小学生都看得懂的C语言入门(1): 基础/判别/循环
- 苏宁零售云,“动物凶猛”