简体   繁体   中英

Xcode 6.1 getting build failed error.

在此处输入图片说明 i am getting this error when i want to run project in xcode 6.1. in my project there is .pch file present.

 clang: error: no such file or directory: '/Users/fffffggg/Desktop/iphone/iph/iph-Prefix.pch'
    clang: error: no input files
    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

在此处输入图片说明

使用cmd +shift + k进行干净的构建,然后再次尝试构建项目。

So, try to remove the references of your file and add your file back again. Sometimes, it's just problem when you do copy and paste. And you probably can select the Simulator, choose the iOS Simulator from the menu. Then, choose Reset Content and Setting . Or, you can try to clear your derived by Window -> Organizer -> Projects tab -> delete it

Those are something what I will do if there are some errors that I think it should not appear. But, the message is quite clear that you are missing one file. So, you probably just go ahead with that. Sometimes, it might be just a small mistake.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM