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

19,450

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

Share:
19,450

Related videos on Youtube

Shanthanu
Author by

Shanthanu

Updated on September 14, 2022

Comments

  • Shanthanu
    Shanthanu over 1 year

    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.

    • trojanfoe
      trojanfoe
      Lots of spaces in strange places in that .pch path; that can't be right...
  • TharakaNirmana
    TharakaNirmana almost 8 years
    located Prefix Header file and it is empty. After that what needs to be done?