• 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: j o a r <email@hidden>
  • Date: Fri, 18 Apr 2008 09:34:20 -0700


On Apr 18, 2008, at 9:21 AM, 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?


While you can always delete the precompiled header caches found here:

	/Library/Caches/com.apple.Xcode.nnn/SharedPrecompiledHeaders

You can't delete the prefix header ("MyProj_Prefix.pch") found in your project folder - At least not without also changing the build settings for your project so that it no longer looks for it.

The easiest thing for you to do is probably to restore that file from backup / SCM. Failing that, you can re-create it manually, or copy over a prefix header from some other project (renaming it as necessary).

j o a r


_______________________________________________ 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: G4 867mhz, Leopard, and XCode 3
  • Previous by thread: Re: Recreating Precompiled Header File
  • Next by thread: Preprocessor, problem
  • Index(es):
    • Date
    • Thread