I have updated to the latest Xcode.

My current hack for being able to build from the command line as well
as within Xcode is that I've manually added symlinks from
Source/WebCore/build -> ../../WebKitBuild (since it no longer seems
possible to set a global build directory).  It seems to be working
mostly (it likes to re-link, but is at least not re-compiling when I
switch between build-webkit and Xcode).

I'm told that the Xcode4 way to share build directories is with
"Workspaces"? [1] Has anyone set up a workspace file for WebKit that I
could use?  I don't see one in the repository.

Thanks.

-eric

1. 
http://developer.apple.com/library/ios/#featuredarticles/XcodeConcepts/Concept-Workspace.html#//apple_ref/doc/uid/TP40009328-CH7-SW1

On Mon, Apr 23, 2012 at 7:30 PM, Ryosuke Niwa <[email protected]> wrote:
> Has anyone successfully setup DRT as a debug target (a.k.a. Scheme) on XCode
> 4 (so that we don't have to manually attach dbg)?
>
> - Ryosuke
>
> On Mon, Apr 23, 2012 at 7:07 PM, Jarred Nicholls <[email protected]> wrote:
>>
>> On Apr 23, 2012, at 9:03 PM, Eric Seidel <[email protected]> wrote:
>>
>> > Does anyone still debug WebKit on Mac OS X with Xcode 4?
>> >
>> >
>> > 1.  I don't know how to actually set up Xcode to point to WebKitBuild
>> > like it used to.
>> > http://www.webkit.org/building/debug.html
>> > Mentions a "Legacy" option which does not exist for me.
>> >
>> > Simon Fraser helped me set up WebKitBuild on one of my machines, but I
>> > don't really know how to repeat that process.
>> >
>> >
>> > 2.  Xcode tries to "Re-index" WebCore, seemingly every time I open
>> > WebCore.xcodeproj.  This is a hour+ process on my 12-core Mac Pro!
>> >
>> > The re-indexing takes a lot of processing power, and seems to render
>> > both my machine, and Xcode largely unusable.
>> >
>> >
>> > I understand that Xcode isn't really designed for projects as large as
>> > WebCore, but we've made it work in the past, and I'm curious if anyone
>> > is still making it work?
>> >
>> >
>> > If the Apple folks have any suggestions or updates to
>> > http://www.webkit.org/building/debug.html, they would be most
>> > appreciated. :)
>> >
>> > Thanks!
>> >
>> > -eric
>> >
>> > Xcode 4.2.1
>> > Build version 4D502
>> > _______________________________________________
>> > webkit-dev mailing list
>> > [email protected]
>> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>> I usually create an empty project, add the source files I care about, and
>> then attach to the appropriate renderer process - but also use
>> WebCore.xcodeproj directly on occasion.  I run the same version as you and
>> once ran into an infinite indexing cycle, but after a swift kick from
>> Activity Monitor, I haven't seen it again.  Xcode works great as a gdb front
>> end for me.
>> _______________________________________________
>> webkit-dev mailing list
>> [email protected]
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to