• 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
Re: Recreating Precompiled Header File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recreating Precompiled Header File


  • Subject: Re: Recreating Precompiled Header File
  • From: Simon Wilson <email@hidden>
  • Date: Fri, 18 Apr 2008 18:30:35 +0200

Hi Bob

My guess is you're coming from Visual C++/Visual Studio?

The .pch file you have deleted is *source code*, not the compiled intermediate you are used to from MSVC. You can think of the .pch file in Xcode as a replacement for the stdafx.h or similar you had in your Visual C++ projects.

If you want to use a pre-compiled header in Xcode then you're going to have to resurrect the .pch file you deleted and re-add it to your project.

Hope this helps.

Regards,
Simon

On Apr 18, 2008, at 18:21:43, Bob Cober wrote:
After deleting a precompiled header file (.pch), my app no longer builds. I am using the latest build of XCode. Is there a way to instruct XCode to rebuild the precompiled header(i have already done a clean all)? Shouldnt this be automatic? Thanks for any advice
_______________________________________________
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

_______________________________________________ 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
References: 
 >Recreating Precompiled Header File (From: Bob Cober <email@hidden>)

  • Prev by Date: Re: Recreating Precompiled Header File
  • Next by Date: Re: Recreating Precompiled Header File
  • Previous by thread: Re: Recreating Precompiled Header File
  • Next by thread: Re: Recreating Precompiled Header File
  • Index(es):
    • Date
    • Thread