• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Precomp twice, fail once?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Precomp twice, fail once?


  • Subject: Precomp twice, fail once?
  • From: Tom Harrington <email@hidden>
  • Date: Tue, 30 Nov 2004 16:36:31 -0700

I added a new target to my project, using the Cocoa "shell tool" type.

When I attempt to build the target, XCode attempts to precompile the
AppKit headers twice.  The first time it succeeds, and the second time
it fails, generating 3765 errors.

Looking at the build log, it's not hard to guess why the two are
different.  The first precompile has "-x objective-c-header", while
the second for some reason has "-x c-header", even though it's
attempting to precompile AppKit headers.

This target does contain a ".c" file, but neither that file nor its
header reference AppKit in any way.

Why is this second precompile attempt happening, and why does it run
with arguments that guarantee its failure?  How can I either prevent
the second attempt, or cause it to run properly?

XCode 1.2, gcc 3.3, Mac OS X 10.3.6.  Also, if it makes any
difference, the project file was imported from Project Builder, but
this particular target is new.  Thanks for any help.

--
Tom Harrington
email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Precomp twice, fail once?
      • From: Tom Harrington <email@hidden>
  • Prev by Date: Re: Refuses to break, Useless Debugger
  • Next by Date: Re: Why me? (SOLVED)
  • Previous by thread: Re: Why me? (SOLVED)
  • Next by thread: Re: Precomp twice, fail once?
  • Index(es):
    • Date
    • Thread