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

I am developing an application for iPhone and iPad.

Suddenly I cannot start the project due to this error:

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

      

I have searched on Stack Overflow and I have actually verified that my prefix title is correct.

My xcode build settings

And here is the file:

folder and file in Finder

I don't understand why xcode is trying to compile pch from this path '/Users/AkdemiaMacBookAir/Developer/iOS/ios-akdemia/ios-akdemia/ios-akdemia-Prefix.pch' if I never said that.

+3


source to share


1 answer


This guy fixed it:

http://www.buzztouch.com/forum/thread.php?tid=F42D8239A330C321132944AยคtPage=3

This was his answer:



Click the name of your project in the list of files / folders on the left in Xcode (at the very top of the list). Look at the Objectives section on the left side of the window on the right. Probably, there are two listed, and the second is a "test". Right-click this item and select delete. Then try running the project again. See screenshot below for visual cue.

enter image description here

+7


source







All Articles