Shanthanu
Shanthanu

Reputation: 421

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit

I am facing the following error in my application.

    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

Please tell me what does this mean and what should I do to resolve this one. Been sometime since I have stuck on this one. Kindly Guide me where am I going wrong here.

Thanks in advance.

Upvotes: 2

Views: 19616

Answers (1)

Anbu.Karthik
Anbu.Karthik

Reputation: 82756

Following steps fixed this problem:

Issue: Compiler unable to locate Little Flower Public S chool HD-Prefix.pch file. This is because Location of Prefix Header file Little Flower Public S chool HD-Prefix-Prefix.pch in Project Target is incorrect.

The location is defined in Project Target/Build setting. You will need to go to: Project Target -> Build Settings Tab -> Scroll down and Look for "Apple LLVM Compiler 5.1 - Language" Underneath this node -> You will find the key/value setting for Prefix Header file.

Normally Prefix header file is located under "Supporting File" Folder in your project

Upvotes: 7

Related Questions