解决方案:clang: error: no such file or directory: '/XXX/..../XXX_Prefix.pch'
2015-02-17 08:39
519 查看
当我们下载别人的Demo学习,打开运行后可能会遇到这个问题:clang: error: no such file or directory: '/XXX/..../XXX_Prefix.pch'
这是由于XXX_Prefix.pch的路径改变所引起的。
最简单的解决方案:分别在主工程文件 targets 中的XXX和XXXTests中, 点击 Build Settings 后搜索 pch ,找到 PrefixHeader 把它后面的值都删除,再运行就解决了
这是由于XXX_Prefix.pch的路径改变所引起的。
最简单的解决方案:分别在主工程文件 targets 中的XXX和XXXTests中, 点击 Build Settings 后搜索 pch ,找到 PrefixHeader 把它后面的值都删除,再运行就解决了
相关文章推荐
- C1803:ERROR Cannot open precompiled header file: 'Debug/XXX.pch': No such file or directory
- iOS Xcode clang: error: no such file or directory: 'PrefixHeader.pch' clang: error: no input files
- no such file or directory: Prefix.pch'
- clang: error: no such file or directory: '/Users/smile/Downloads/代码/04-ItcastWeibo(后台运行)/ItcastWeibo
- 关于ImageIO: CGImageRead_mapData 'open' failed ' XXX error = 2 (No such file or directory)问题
- fatal error C1083: Cannot open precompiled header file: 'Debug/xxx.pch': No such file or directory
- no such file or directory: 'Coding_iOS/Coding_iOS-Prefix.pch'问题解决方案
- clang: error: no such file or directory: xxx.pch
- clang: error: no such file or directory: xxx.pch
- gcc: error trying to exec 'cc1plus': execvp: No such file or directory
- Cannot open precompiled header file:'Debug/password.pch' No such file or directory
- VC编辑时报错Cannot open precompiled header file: 'Debug/.pch': No such file or directory
- Cannot open precompiled header file: 'Debug/****.pch': No such file or directory
- tcc88xx/android配置linux内核(make tcc88xx_defconfig)时gcc:error trying to exec 'cc1':execvp:No such file or directory
- Cannot open precompiled header file: 'Debug/****.pch': No such file or directory
- VC编译程序时Cannot open precompiled header file: 'Debug/.pch': No such file or directory错误处理
- VC编译程序时Cannot open precompiled header file: 'Debug/.pch': No such file or directory为什么
- vc6.0常见错误fatal error C1083: Cannot open precompiled header file: 'Debug/**.pch': No such file or directory
- mac下安装mysql-python包报unable to execute llvm-gcc-4.2: No such file or directory error: command 'llvm-g
- 编译出错提示 error trying to exec 'cc1': execvp: No such file or directory