命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang失败,退出

我在我的应用程序中遇到以下错误。

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 

请告诉我这是什么意思,我该怎么做才能解决这个问题。 有一段时间以来,我一直坚持这一个。 请引导我在哪里我错了在这里。

提前致谢。

以下步骤解决了这个问题:

问题 :编译器无法findLittle Flower Public S chool HD-Prefix.pch文件。 这是因为前缀头文件的位置在项目目标中的小花公开小组HD-Prefix-Prefix.pch不正确。

该位置在项目目标/生成设置中定义。 您需要进入:项目目标 – >生成设置选项卡 – >向下滚动并查找“Apple LLVM编译器5.1 – 语言”在此节点下面 – >您将find前缀头文件的键/值设置。

通常前缀头文件位于项目的“支持文件”文件夹下