Xcode编译警告warning: no rule to process file 'file_path' 的解决方案
来源:互联网 发布:mac word空白页 编辑:程序博客网 时间:2024/05/21 13:54
在使用xcode进行编译的时候,始终出来一条警告:
warning: no rule to process file '/Users/me/Desktop/Sort/Sort/Sort.hpp' of type sourcecode.cpp.h for architecture x86_64
这条警告似乎和代码的编写无关。在谷歌了一下之后得到了解决的办法:
1.选中工程
2.在BuildPhases下,展开 Compile Source 项目,这个项目下面,删除所有.h文件和.hpp文件
3.重新编译工程,会发现警告已经消失了
stackoverflow上面讨论的原帖的地址如下:
http://stackoverflow.com/questions/6509600/compilation-warning-no-rule-to-process-file-for-architecture-i386
0 0
- Xcode编译警告warning: no rule to process file 'file_path' 的解决方案
- 警告:Xcode Warning: “no rule to process file
- 编译报warning:no rule to process file **.h sourcecode.c.h for architecture arm64
- warning: no rule to process file '$(PROJECT_DIR)/MyWebView/HighlightedString
- warning: no rule to process file '$(PROJECT_DIR)/MyWebView/HighlightedString
- no rule to process file ... .frag!
- warning: no rule to process file * of type * for architecture i386
- xcode5.0(UIWebView)---warning: no rule to process file '/Users/zhanglan
- warning: no rule to process file '.h' of type sourcecode.c.h for architecture i386
- warning: no rule to process file 'h' of type sourcecode.c.h for architecture i386
- warning: no rule to process file 'xxx.h' of type sourcecode.c.h for architecture armv7
- xcodewarning :no rule to process file xxx解决
- no rule to process file 'xxx/.../jquery.js' of type sourcecode.javascript for architecture i386
- no rule to process file "xxxxxxxxx" of type XXXXXX.h for architecture i386解决办法
- “make: *** No rule to make target `all'. Stop”的解决方案
- 全局设置xcode去掉编译警告warning
- 关于GCC的warning: no newline at end of file警告的原因
- 支付宝的warning: (arm64)...: No such file or directory警告 和 #include <openssl/rsa.h> 'openssl/rsa.h' file
- MybatisGenerator的使用
- 正则表达式
- UIScreenEdgePanGestureRecognizer 边缘触发手势 MVC模式下实现
- Class.forName的作用以及为什么要用它
- hdu 1085 Holding Bin-Laden Captive!(多重背包or数学)
- Xcode编译警告warning: no rule to process file 'file_path' 的解决方案
- 黑马程序员——java高新技术——反射
- linux驱动常用宏定义函数
- db2 错误码 57016 因为表不活动,所以不能访问它
- nmap 时间参数用法
- 二叉树基本操作的程序实现
- eclipse快捷键总结
- 超详细的vim+cscope 的使用规则 转载
- 黑马程序员_JAVA的异常处理_2_总结