Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8405869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:56:38+00:00 2026-06-09T22:56:38+00:00

There seems to be lots of posts regarding that error message but I couldn’t

  • 0

There seems to be lots of posts regarding that error message but I couldn’t find one that has something to do with actual code. I have an Xcode 4.0 project called prog1, and inside it is a single file main.m:

#import <Foundation/Foundation.h>

@interface Fraction : NSObject
    -(void) print;
    -(void) setNumerator: (int) n;
    -(void) setDenominator: (int) d;
@end

@implementation Fraction {
    int numerator;
    int denominator;
}

-(void) print {
    NSLog(@"The fraction is %i/%i.", numerator, denominator);
}

-(void) setNumerator: (int) n {
    numerator = n;
}

-(void) setDenominator: (int) d {
    denominator = d;
}
@end

int main (int argc, const char * argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

    Fraction *f = [[Fraction alloc] init];
    [f setNumerator:5];
    [f setDenominator:6];
    [f print];

    [pool drain];
    return 0;
}

This is the complete error message:

ProcessPCH /Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/PrecompiledHeaders/prog1-Prefix-ethcjsncaxczlsgsnayacjarhmne/prog1-Prefix.pch.pth prog1/prog1-Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/rh/Desktop/prog1/prog1
setenv LANG en_US.US-ASCII
/Developer/usr/bin/clang -x objective-c-header -arch x86_64 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wshorten-64-to-32 -DDEBUG -isysroot /Developer/SDKs/MacOSX10.6.sdk -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -iquote /Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/Intermediates/prog1.build/Debug/prog1.build/prog1-generated-files.hmap -I/Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/Intermediates/prog1.build/Debug/prog1.build/prog1-own-target-headers.hmap -I/Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/Intermediates/prog1.build/Debug/prog1.build/prog1-all-target-headers.hmap -iquote /Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/Intermediates/prog1.build/Debug/prog1.build/prog1-project-headers.hmap -I/Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/Products/Debug/include -I/Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/Intermediates/prog1.build/Debug/prog1.build/DerivedSources/x86_64 -I/Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/Intermediates/prog1.build/Debug/prog1.build/DerivedSources -F/Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/Products/Debug -c /Users/rh/Desktop/prog1/prog1/prog1/prog1-Prefix.pch -o /Users/rh/Library/Developer/Xcode/DerivedData/prog1-djucagjboveiuwcnycgafzuugucf/Build/PrecompiledHeaders/prog1-Prefix-ethcjsncaxczlsgsnayacjarhmne/prog1-Prefix.pch.pth

clang: error: no such file or directory: '/Users/rh/Desktop/prog1/prog1/prog1/prog1-Prefix.pch'
clang: error: no input files
Command /Developer/usr/bin/clang failed with exit code 1

I don’t see anything wrong here, but then again I just started learning Objective-C. Help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T22:56:39+00:00Added an answer on June 9, 2026 at 10:56 pm

    Just to close this question, I will quote Till’s comment which he’s too lazy to write as an answer. 🙂

    “That file is called the precompiled header. You may fix the problem by deactivating the use of precompiled headers within Xcode’s build-settings.”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two tables that should be in a one-to-many relationship but there seems
Atomikos is quite verbose when used. There seems to be lots of INFO messages
I know that there are lot's of questons on this, but all seem to
There seems to be a similar question to this on here but with the
There seems to be a bug in a Wordpress PHP function that leaves whitespace
I've seen lots of posts about the Inherits Attribute, and the Parser Error Could
I've seen lots of posts on SE relating to this, but none have answered
There are lots of posts out there on pivoting rows into columns for various
I've searched around for a while and there are lots of posts on this
The below code only seems to POST the 'message' and nothing else. Is there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.