• 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: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles


  • Subject: Re: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Sat, 18 Jul 2009 23:02:20 +0200


Le 18 juil. 09 à 21:09, Grant Erickson a écrit :

I have been updating all my Xcode project files to use a OBJROOT and SYMROOT
inherited from a common configuration file rather than picked up from
customized <user>.pbxproj files inside each project.


However, in doing so, I've noted variant behavior in that when OBJROOT and
SYMROOT are set to/customized:


   OBJROOT = "$(SRCROOT)/build"
   SYMROOT = "$(BUILDROOT)/results"

in a:

   1) .xcconfig file
   2) project.pbxproj file

where $(BUILDROOT) is taken from the environment--I end up with .pbxindex
CodeSense index bundles in two locations:


   $(SYMROOT)/$(PROJECT_NAME).build/$(PROJECT_NAME).pbxindex

and:

   $(OBJROOT)/$(PROJECT_NAME).build/$(PROJECT_NAME).pbxindex

Even though the Xcode documentation claims that XCCodeSenseIndexBasePath
defaults to '$(OBJROOT)/$(PROJECT_NAME).pbxindex'.


I have not explicitly set any of 'XCCodeSenseIndexBasePath',
PROJECT_TEMP_DIR or CONFIGURATIOON_TEMP_DIR in either the .xcconfig file or
the project file itself.


Whereas, if I set OBJROOT and SYMROOT similarly in the associated
<user>.pbxproj file, I end up with the CodeSense index ONLY in:

   $(OBJROOT)/$(PROJECT_NAME).build/$(PROJECT_NAME).pbxindex

as expected (though not exactly as documented).

Is this a known issue? Any insight on this seeming schizophrenia regarding
the location of the CodeSense index bundles when custom OBJROOT and SYMROOT
are set in an .xcconfig or in a project file?


Am I best off just forcing XCCodeSenseIndexBasePath to the expected value?

Just to say I'm experiencing the same issue but I haven't workaround yet.




_______________________________________________
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: 
 >Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles (From: Grant Erickson <email@hidden>)

  • Prev by Date: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles
  • Next by Date: Re: Include an executable without hard coding the path
  • Previous by thread: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles
  • Next by thread: Re: Distribution Cert/Prov Problems, "A valid signing identity matching this profile could not be found in your keychain"
  • Index(es):
    • Date
    • Thread