RESOLVED FIXED104739
Add instructions on how to build WebKit on Xcode 4 to build.html
https://bugs.webkit.org/show_bug.cgi?id=104739
Summary Add instructions on how to build WebKit on Xcode 4 to build.html
Ryosuke Niwa
Reported 2012-12-11 16:22:01 PST
Apparently we need to change the workspace setting or else WebKit doesn’t build.
Attachments
Patch (1.52 KB, patch)
2012-12-11 16:29 PST, Ryosuke Niwa
no flags
Patch (1.65 KB, patch)
2012-12-11 16:56 PST, Ryosuke Niwa
dbates: review+
Ryosuke Niwa
Comment 1 2012-12-11 16:29:04 PST
Mark Rowe (bdash)
Comment 2 2012-12-11 16:44:36 PST
Wouldn't this result in a configuration in which the world will rebuild when you switch between building via the command-line and in Xcode?
Brent Fulgham
Comment 3 2012-12-11 16:44:49 PST
Comment on attachment 178913 [details] Patch I hate the setting. :-) r+
Daniel Bates
Comment 4 2012-12-11 16:46:58 PST
Comment on attachment 178913 [details] Patch Can you please use similar wording as on <http://www.webkit.org/building/debug.html>
Brent Fulgham
Comment 5 2012-12-11 16:47:34 PST
(In reply to comment #2) > Wouldn't this result in a configuration in which the world will rebuild when you switch between building via the command-line and in Xcode? I thought this just sets the same target location for both builds. Wouldn't that actually prevent having to do a full rebuild when switching from command-line to Xcode?
Daniel Bates
Comment 6 2012-12-11 16:49:16 PST
Comment on attachment 178913 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=178913&action=review > Websites/webkit.org/building/build.html:44 > +<h2>Building WebKit from XCode</h2> Nit: XCode => Xcode
Mark Rowe (bdash)
Comment 7 2012-12-11 16:51:21 PST
(In reply to comment #5) > (In reply to comment #2) > > Wouldn't this result in a configuration in which the world will rebuild when you switch between building via the command-line and in Xcode? > > I thought this just sets the same target location for both builds. Wouldn't that actually prevent having to do a full rebuild when switching from command-line to Xcode? I was confusing the top level "Relative" setting for Derived Data with the "Relative" sub-option of the "Custom" setting (because that's not at all a confusing way for Xcode to express things :-/).
Ryosuke Niwa
Comment 8 2012-12-11 16:56:24 PST
Ryosuke Niwa
Comment 9 2012-12-11 16:56:40 PST
(In reply to comment #7) > > I was confusing the top level "Relative" setting for Derived Data with the "Relative" sub-option of the "Custom" setting (because that's not at all a confusing way for Xcode to express things :-/). Yeah, it’s very confusing :(
Daniel Bates
Comment 10 2012-12-11 17:02:08 PST
Comment on attachment 178921 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=178921&action=review r=me > Websites/webkit.org/building/build.html:45 > +<h2>Building WebKit from Xcode</h2> > +<p>To build from within Xcode, you can use the WebKit workspace. Ensure that the Products and Intermediates locations for the workspace match those used by <code>build-webkit</code> by choosing File > Workspace Settings and clicking the Advanced button, selecting Custom, Relative to Workspace, and entering WebKitBuild both for Products and for Intermediates. Note that if you have specified a custom build location in Xcode preferences, then you don&rsquo;t need to do this.</p> I wish there was a way to repurpose the text that is in common with <http://www.webkit.org/building/debug.html> so that we we would not have to duplicate it.
Ryosuke Niwa
Comment 11 2012-12-11 17:02:58 PST
Comment on attachment 178921 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=178921&action=review >> Websites/webkit.org/building/build.html:45 >> +<p>To build from within Xcode, you can use the WebKit workspace. Ensure that the Products and Intermediates locations for the workspace match those used by <code>build-webkit</code> by choosing File > Workspace Settings and clicking the Advanced button, selecting Custom, Relative to Workspace, and entering WebKitBuild both for Products and for Intermediates. Note that if you have specified a custom build location in Xcode preferences, then you don&rsquo;t need to do this.</p> > > I wish there was a way to repurpose the text that is in common with <http://www.webkit.org/building/debug.html> so that we we would not have to duplicate it. Yeah. I think we should re-organize the website at some point.
Ryosuke Niwa
Comment 12 2012-12-11 17:04:17 PST
Note You need to log in before you can comment on or make changes to this bug.