iOS错误-Apple-LLVM 6.0 Error (Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefa)
2015-03-10 10:51
766 查看
在使用Xcode6打开之前的工程时,遇到了这个错误
很明显,是pch文件的问题,怎么解决呢?
首先,Xcode6开始已经不会自动生产pch,苹果不推荐使用pch方式。
因此,我们解决方式直接把pch文件放到一个公共的头文件里面,比如core.h
然后在其他文件里面包含此头文件。
注意,删除pch包含的方式,注意下面的两个地方都要改掉,否则错误将继续
1:
2:
相关文章推荐
- iOS:编译错误Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/b
- iOS之xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") 错误处理
- iOS运行错误:Command /Applications/Xcode 2.app/Contents/Developer/usr/bin/actool failed with exit code 25
- 错误:Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
- swift错误 Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/
- Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
- Command /Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cla
- 报错 - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex failed with exit code 1
- 报错 - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
- Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex f
- Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
- Xcode6.1运行Xcode5.1项目报错:"Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.x
- Command /Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cla
- [绍棠_Swfit] 报错Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
- Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
- 报错 - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex failed with exit code 1
- 错误:fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
- xcode报错:Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/b
- Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang