• 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
.pch not working under XCode 2.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.pch not working under XCode 2.2


  • Subject: .pch not working under XCode 2.2
  • From: Ian was here <email@hidden>
  • Date: Sun, 26 Feb 2006 23:12:49 -0800 (PST)

I have noticed that the precompiled header (.pch)
doesn't seem to work when I create an Objective-C
project with XCode 2.2. With previous versions of
XCode it seemed to work OK.

I could place this coide in the precompiled header:

#ifdef __OBJC__
    #import <Cocoa/Cocoa.h>
#endif


and would not have to add #import <Cocoa/Cocoa.h>
anywhere else in the project and it worked great! Does
anyone know why this doesn't work anymore?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
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

  • Prev by Date: Re: Error from debugger: Executable path is nil
  • Next by Date: Re: Single project or two separate projects?
  • Previous by thread: Re: Error from debugger: Executable path is nil
  • Next by thread: Universal questions
  • Index(es):
    • Date
    • Thread