• 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: Shared precompiled header problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shared precompiled header problem


  • Subject: Re: Shared precompiled header problem
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 3 Jan 2006 13:30:59 -0800

On Jan 3, 2006, at 12:41 PM, Mark Alldritt wrote:

I'm running into a problem where Xcode's shared pre-compiled header caching

is causing automated builds to fail.


When I build my project from the IDE, it generates a pre-compiled header

cached in /Library/Caches/com.apple.xcode.501/SharedPrecompiledHeaders.


When I later run an automated build using the xcodebuild command from a

separate CVS sandbox, I get compile errors about redefined symbols.  If I

delete the contents of

/Library/Caches/com.apple.xcode.501/SharedPrecompiledHeaders my automated

build succeeds.


Does anyone know how to make Xcode put the pre-compiled headers in the

project directory?  Or, is there some other solution for this problem.


Nothing obvious has jumped out at me from the Project Build settings or the

Xcode preferences.


Xcode 2.2/Mac OS X 10.4.3


/Developer/ADC\ Reference\ Library/releasenotes/DeveloperTools/Xcode/XcodeBuildSettings.html

  • SHARED_PRECOMPS_DIR
  • This is the location for shared precompiled headers. By default this is $(CACHE_ROOT)/SharedPrecompiledHeaders.
  • You can change this setting in a target configuration to cause precompiled headers to be stored in a different place. Projects that intend to share precompiled headers should use the same value for this build setting.
Chris
 _______________________________________________
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: 
 >Shared precompiled header problem (From: Mark Alldritt <email@hidden>)

  • Prev by Date: Re: iCode development tool
  • Next by Date: Re: iCode development tool
  • Previous by thread: Shared precompiled header problem
  • Next by thread: Ordering of function pointers in mod_init_funcs
  • Index(es):
    • Date
    • Thread