ios - Apple LLVM 编译器 4.2 错误退出代码 1

标签 ios xcode compiler-errors

这个问题已经被问过很多次了,但我找不到解决我的问题的方法。这是我得到的错误:

clang: error: no input files Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

截图:

enter image description here

我希望有人能帮助我。我正在使用解析 SDK。 (参见:parse.com)

最佳答案

您应该检查build设置并验证 GCC_PREFIX_HEADER 中的文件名和路径

Apple LLVM 编译器 4.2 - 语言 前缀 header

这是我的。只是一个例子

GCC_PREFIX_HEADER = DC Wire Sizer/SupportingFiles/DC Wire Sizer-Prefix.pch

仅供引用:如果您在 Xcode 中选择 Prefix Header build设置并复制,您将得到上面的行,但是当您设置该值时,不应包含 'GCC_PREFIX_HEADER = '

这是不正确的:

enter image description here

enter image description here

这是正确的设置:

enter image description here enter image description here

注意:这些值与上面的值不同,因为它们来自不同的项目。

关于ios - Apple LLVM 编译器 4.2 错误退出代码 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16544449/

相关文章:

ios - Metal for iOS 中的 GL_TRIANGLE_STRIP 是什么?

ios - 在 NSUserDefaults 中保存 UIImage 数组

ios - 从 XIB 加载时 UICollectionViewCell 导致崩溃

objective-c - Xcode 4.5 中数组的新语法?

android - OpenGL ES 2.0 的纵向和横向模式

ios - UITableView 中的 TextField 退出FirstResponder

iphone - Xcode 构建正常,但存档失败,找不到 -load_all 的库

debugging - 调试curses.h应用程序? (AppCode)

ASP.NET 数据 View 错误

ios - Swift 2.0 元组模式元素标签必须是 '_'