[Webkit-unassigned] [Bug 26537] Builds from command-line fail if custom build product directory is set and ~/Library/Preferences/xcodebuild.plist exists

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 22 01:00:56 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26537





------- Comment #13 from mrowe at apple.com  2009-06-22 01:00 PDT -------
(In reply to comment #12)
> (In reply to comment #11)
> > > > Do you happen to have a ~/Library/Preferences/xcodebuild.plist?
> > > > 
> > > 
> > > Yes
> > 
> > Delete it!  The problem you're seeing is that xcodebuild is reading preferences
> > from that file when it should be pulling them from com.apple.Xcode.plist, the
> > standard Xcode preferences.  The situations under which xcodebuild.plist gets
> > created are something of a mystery, but appears to be the result of a bug in
> > xcodebuild itself (<rdar://problem/5585899>).
> > 
> > The existence of this bogus preference file is likely to cause other subtle
> > issues beyond the obvious build directory problem, so I don't think your patch
> > is the appropriate workaround.  A more direct approach may be to look for the
> 
> So, what's the best thing to do in this function? It's confusing that it has
> unnecessary code for setting baseProductionDirOption here.

What unnecessary code are you referring to?  baseProductDirOption is set in two
places: one place deals with the situation where Xcode has a global build
product directory configured (no extra options necessary), and the other deals
with the default behavior of placing the build product directory alongside the
project (we override SYMROOT and OBJROOT to force things in to a single
directory for all projects). 

It may be that this logic could be cleaner or more explicit, but that is
something that would be best done in a separate patch.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list