warning: no umbrella header found for target 'xxxxx', module map will not be generated
来源:互联网 发布:淘宝御泥坊官网 编辑:程序博客网 时间:2024/06/06 08:36
问题
在创建framework或者静态库的时候,有时会出现上面的warning,原因是项目需要一个和工程名同名的头文件
解决办法
1) 向工程中添加一个同名的头文件
有时工程中明明已经有了这个文件,但还是提示这个warning,这时把这个文件从工程中删除,再重新导入即可,可能是文件引用关系不对
2) 修改项目配置
Build Setting -> Packaging -> Module Map File
添加“Module Map File”, 内容如下:
framework module test { umbrella header "test.h" header "other-header.h" export * module * { export * }}
0 0
- warning: no umbrella header found for target 'xxxxx', module map will not be generated
- Umbrella Header for Module Bolts does not include header 'XXXXXX.h'?
- 解决Xcode Umbrella Header for Module Bolts does not include header ‘文件名’
- Swift之Umbrella header .h not found
- 解决警告:ld: warning: directory not found for option:XXXXX
- module 'nninit' not found:No LuaRocks module found for nninit
- git warning: LF will be replaced by CRLF in xxxxx 解决办法
- The breakpoint will not currently be hit. No symbols have been loaded for this document
- Tika Warning No appenders could be found for logger (org.apache.pdfbox.pdfparser.PDFObjectStreamPars
- Warning:No JDK specified for module
- The specified module could not be found
- The specified module could not be found
- WARNING: *** TIFF loader will not be built 的解决
- "mkimage" command not found - U-Boot images will not be
- android studio:no idea annotations attached to the jdk 1.8(C:\...),some issues will not be found
- Python module “cx_Oracle” module could not be found
- warning: directory not found for option ' '
- warning: directory not found for option ' '
- 使用TextRank算法为文本生成关键字和摘要
- [Leetcode刷题总结系列][Dynamic programming]198. House Robber
- Java单例模式中的线程安全问题
- Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
- 【Get深一度】信号处理(一)——能量信号与功率信号的区别
- warning: no umbrella header found for target 'xxxxx', module map will not be generated
- Myeclipse中导入项目后WebRoot报错了
- node.js http服务
- angular api
- 卢卡斯定理
- (转载)hive文件存储格式
- APUE------进程关系
- Spinner的添加
- SQL查询优化:如何写出高性能SQL语句