'config.h' file not found'和/Libraries/WebSocket/libfishhook.a'-Xcode10,React-Native更新问题
2019-01-06 20:10
573 查看
版权声明:本文为博主原创文章,若需转载,请注明出处 https://blog.csdn.net/suwu150/article/details/85946961
1.React Native 中在xcode10运行提示 ‘config.h’ file not found’
解决方法:
在项目终端执行以下命令
cd node_modules/react-native/third-party/glog-0.3.4 ../../scripts/ios-configure-glog.sh
clean the project and build again, the error is gone,也可以参见github中的处理意见:config.h’ file not found
其实执行 .sh 命令之后Terminal界面的一些处理流程,我们不难看出,这个命令是check .h头文件的引用情况,然后重新建立关联关系
2.Build input file cannot be found: ‘…/node_modules/react-native/Libraries/WebSocket/libfishhook.a’
解决方案:
按照1-2-3步骤进行先删除掉libfishhook.a文件,然后再重新加入即可
3.Xcode10构建方式切换,使用旧的构建方式
由于Xcode10会默认使用新的构建方式,感觉不是很顺手,于是我们需要切换到旧的构建方式,构建方式如下:
File->Project Settings->Build Systems 选择Legacy Build System
编辑于2019-01-06
相关文章推荐
- React Native 日常报错 'config.h' file not found
- ReactNative出现错误问题'React/RCTBridgeModule.h' file not found
- 转载加整理!由ClassNotFoundException: ContextLoaderServlet引出关于eclipse加载web-inf/lib问题
- React-Native 'RCTRootView.h' file not found AppDelegate.m
- Myeclipse中Struts2运行问题:Could not create JarEntryRevision for [jar:file:/E:/Java/Tomcat%206.0/webapps/Struts2.1/WEB-INF/lib/struts
- cloudera-scm-server启动时出现Caused by: java.io.FileNotFoundException: /var/lib/cloudera-scm-server/.keystore (No such file or directory)问题解决方法(图文详解)
- Properties file not found in classpath: a_little_config.txt JFinal的路径配置问题
- ios react native 手动配置 realm 使用cocoapods 会编译报错 fatal error: 'React/RCTBridge.h' file not found
- Apache遇到的问题:APR not found、APR-util not found 、pcre-config for libpcre not found. PCRE is required
- ASIHTTPRequest包引入的时候遇到的问题libxml/HTMLparser.h file not found
- UBUNTU下android安装更新包的问题(File not found:... android-sdk-linux_x86/temp (权限不够))
- [React-native] 报React/RCTBridgeModule.h' file not found
- ReactNative Ios报出 'React/RCTBundleURLProvider.h' file not found错误
- React-Native 'RCTRootView.h' file not found AppDelegate.m
- react native 导入第三方连接库,Orientation.h file is not found
- XXXX.axf: Warning: L6373W: libattrs.map file not found in System Library directory 问题解决
- React Native 'boost/iterator/iterator_adaptor.hpp' file not found’解决方案
- eclipse与idea中classpath配置路径不同导致迁移项目时的FileNotFoundException问题
- ssm框架问题Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/mybatiscon
- 让ADS与KEIL共存 Warning: L6373W: libattrs.map file not found in System Library directory