Ios 命令/Applications/Xcode.app/Contents/Developer/toolschains/xcodefault.xctoolschain/usr/bin/clang退出失败
我在申请中遇到以下错误Ios 命令/Applications/Xcode.app/Contents/Developer/toolschains/xcodefault.xctoolschain/usr/bin/clang退出失败,ios,objective-c,xcode,swift,Ios,Objective C,Xcode,Swift,我在申请中遇到以下错误 clang: error: no such file or directory: '/Users/madhavadudipalli/Desktop/ ios projects/Little Flower Public School /Little Flower Public School Ipad/Little Flower Public S chool HD-Prefix*.pch' clang: error: no input files C
clang: error: no such file or directory: '/Users/madhavadudipalli/Desktop/ ios projects/Little Flower Public School /Little Flower Public School Ipad/Little Flower Public S chool HD-Prefix*.pch'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
请告诉我这意味着什么,我应该如何解决这个问题。自从我坚持这一点以来,已经有一段时间了。请告诉我哪里出了问题
提前感谢。以下步骤修复了此问题: 问题:编译器无法找到Little Flower Public S chool HD Prefix.pch文件。这是因为前缀头文件Little Flower Public S chool HD Prefix.pch在项目目标中的位置不正确 位置在项目目标/生成设置中定义。您需要转到: 项目目标->构建设置选项卡->向下滚动并在此节点下查找“Apple LLVM编译器5.1-语言”->,您将找到前缀头文件的键/值设置
通常情况下,前缀头文件位于项目的“支持文件”文件夹下在
.pch
路径中的奇怪位置有很多空格;那不可能是对的…@trojanfoe请告诉我现在该怎么办我不知道。Xcode项目显然配置错误。我将删除.pch
文件引用并重新添加它,否则将从头开始重新创建项目(首先保存所有源文件)。找到前缀头文件,它为空。在那之后需要做什么?