Objective-c – regarding – Xcode error-> Clang: error: no input files

objective cxcode

I am totally new to the Xcode and getting the error below:

clang: error: no such file or directory:
'/usersd/chairman/desktop/MySecondTabApp/MySecondTabbApp/"MySecondTabbApp/MySecondTabbApp-Prefix.pch"'

Clang: error: no input files

Command/Users/chairman/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/user/bin/clang
failed with exit code 1

Best Answer

Did you move your folder/files after making the project? It's because Xcode can't find the prefix header for some reason. It can be easily fixed by relocating it.

Change the Prefix Header to where the .pch file is located in your folder.

Related Topic