Swift之Umbrella header .h not found
来源:互联网 发布:淘宝达人如何发帖 编辑:程序博客网 时间:2024/05/17 02:10
最近在学习Swift,从网上下载了个Swift项目看看,结果pods update后遇到了:
error: umbrella header 'Realm.h' not found umbrella header "Realm.h"
error: could not build Objective-C module 'Realm'
经自己尝试未果,Stackoverflow后找到答案:
1.升级Xcode到7.2以上
2.在Project中将Always Search User Paths设置为NO
3.将报错的相关.h从private移到public
4.在Poject中将Enable Modules (C and Objective-C)设置为Yes
5.因为Swift编译器和pods 0.39以上不和谐,所以需要将pods降版本
sudo gem uninstall cocoapods -v 0.39 (当前版本号pod --version查看)
sudo gem install cocoapods -v 0.38.2
第5种是解决我的问题,希望能有所帮助
0 0
- Swift之Umbrella header .h not found
- Umbrella Header for Module Bolts does not include header 'XXXXXX.h'?
- warning: no umbrella header found for target 'xxxxx', module map will not be generated
- swift与objectc混编 module-Swift.h file not found
- 解决Xcode Umbrella Header for Module Bolts does not include header ‘文件名’
- Swift Cocoapods use_frameworks!(报error Bridging header 'XXXXXX-Bridging-Header.h' does not exist 错误)
- .h file not found
- streams.h is not found
- 'libxml/HTMLparser.h' not found
- error: png.h not found.
- libxml/parser.h not found
- vector.h file not found
- xxx.h file not found
- Swift、OC混编用到的Bridging-Header.h
- required file `config.h.in' not found
- libxml/HTMLparser.h file not found
- 'libxml/tree.h' file not found
- libxml/HTMLparser.h file not found 解决方法
- Linux服务器集群系统(LVS)
- 如何监听Angularjs列表数据是否渲染完毕,配合jQuery操作DOM,指令的规范
- 新建的maven项目不显示src/main/java文件的解决办法
- EXT.NET MVC5 工作随笔06 保存前提示框 及formpanel 的有效性判断
- ubuntu16.04安装ibus中文输入法
- Swift之Umbrella header .h not found
- tcp 相关的内核变量
- C++拷贝欧构造函数
- CSDN下载页面无下载按钮 谷歌插件(净网大师导致)
- PHP--封装一个下载图片的方法
- 第十四周项目1:阅读程序,并解释运行结果(3)
- Activity与Service通信之AIDL远程服务
- 关于MATLAB中imfilter函数的说明
- Java的几种内部类