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

Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles


  • Subject: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles
  • From: Grant Erickson <email@hidden>
  • Date: Sat, 18 Jul 2009 12:09:09 -0700
  • Organization: Nuovation System Designs, LLC
  • Thread-topic: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles

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?

Regards,

Grant Erickson


 _______________________________________________
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

  • Follow-Ups:
    • Re: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Include an executable without hard coding the path
  • Next by Date: Re: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles
  • Previous by thread: Re: Include an executable without hard coding the path
  • Next by thread: Re: Custom OBJROOT and SYMROOT and Multiple Instances of .pbxindex Bundles
  • Index(es):
    • Date
    • Thread