Reputation: 37
This has been asked a lot of times, but I can't find a solution for my problem. This is the error i get:
clang: error: no input files Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
Screenshot:
I hope someone can help me. I am using the Parse SDK. (see: parse.com)
Upvotes: 0
Views: 2958
Reputation: 4533
You should check your build settings and verify the file name and path in GCC_PREFIX_HEADER
Apple LLVM compiler 4.2 - language Prefix Header
This is mine. Just an example
GCC_PREFIX_HEADER = DC Wire Sizer/SupportingFiles/DC Wire Sizer-Prefix.pch
FYI: If you select the Prefix Header build setting in Xcode and copy you get the line above but when you set the value you shouldn't include 'GCC_PREFIX_HEADER = '
This is incorrect:
This is the correct setting:
Note: The values are different then above because they are from a different project.
Upvotes: 1
Reputation: 11597
that .pch file should be created when you create your project, must of accidently deleted it somehow, just create a new file with that name and put this in it:
#import <Availability.h>
#ifndef __IPHONE_5_0
#warning "This project uses features only available in iOS SDK 5.0 and later."
#endif
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
may need to be slightly different but should get your project working again
Upvotes: 0