Bug 202263 - [meta] Xcode 11 issues with the public SDK on Mojave
Summary: [meta] Xcode 11 issues with the public SDK on Mojave
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 199705 199852 200477 202264
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-26 02:53 PDT by Frédéric Wang (:fredw)
Modified: 2019-10-09 08:19 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2019-09-26 02:53:21 PDT
I recently got build failures after upgrading to XCode 11. I'm opening this meta bug to track them.
Comment 1 Alexey Proskuryakov 2019-09-29 15:18:15 PDT
Maybe we need to make it official that Xcode 10 is needed to build WebKit on Mojave. I don't think that it's practical for us to maintain compatibility with multiple Xcode versions on each OS.
Comment 2 Frédéric Wang (:fredw) 2019-09-29 22:50:00 PDT
Not sure that will work well with bug 199852 and that seems inconsistent with the current Mojave bot setup (which uses Xcode 11.1). I guess the remaining issue (bug 199705) will resolve once Xcode 11.1 is released.
Comment 3 Ali Juma 2019-09-30 06:25:43 PDT
(In reply to Frédéric Wang (:fredw) from comment #2)
> Not sure that will work well with bug 199852 and that seems inconsistent
> with the current Mojave bot setup (which uses Xcode 11.1). I guess the
> remaining issue (bug 199705) will resolve once Xcode 11.1 is released.

I think part of the confusion is that there are two separate issues:

1) Building WebKit for iOS using Xcode 11 on Mojave: this seems to work fine now.

2) Building WebKit for Mac using Xcode 11 on Mojave: this doesn't work, because of things like bug 199705. The underlying problem seems to be building with the Catalina SDK on a host machine with an older macOS. I believe this is the configuration that's not found on any bot, so is subject to breakage at any time. The easiest way to workaround this would be to keep around an older Xcode and switch to it (using xcode-select) when you want to build WebKit for Mac.
Comment 4 Frédéric Wang (:fredw) 2019-10-09 08:19:28 PDT
All dependencies fixes so closing.