[Webkit-unassigned] [Bug 199705] Build failure in WebHTMLView.mm with the public SDK (Xcode 11 and Mojave)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 5 21:33:18 PDT 2019


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

Kenneth Russell <kbr at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1
                 CC|                            |kbr at google.com
           Severity|Normal                      |Major

--- Comment #17 from Kenneth Russell <kbr at google.com> ---
Ran into this problem too after updating to Xcode 11 on 10.4.6 in order to pick up the iOS 13 SDK, which seemed required to build for the iOS Simulator. This presents a chicken-and-egg problem since it's not possible to build for the iOS Simulator without Xcode 11, but not possible to build for macOS with it.

I was able to work around this by adding the following hack to WebHTMLView.mm:

diff --git a/Source/WebKitLegacy/mac/WebView/WebHTMLView.mm b/Source/WebKitLegacy/mac/WebView/WebHTMLView.mm
index 347826af20a..448d4c714d9 100644
--- a/Source/WebKitLegacy/mac/WebView/WebHTMLView.mm
+++ b/Source/WebKitLegacy/mac/WebView/WebHTMLView.mm
@@ -217,6 +217,8 @@
 #if !HAVE(SUBVIEWS_IVAR_SPI)
 @implementation NSView (SubviewsIvar)

+NSMutableArray<__kindof NSView *> *_subviews;
+
 - (void)_setSubviewsIvar:(NSMutableArray<__kindof NSView *> *)subviews {
     ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     _subviews = subviews;



but am sure this isn't correct. I don't know enough Objective-C to postulate a correct fix.

Any help from folks at Apple?

May I please upgrade this to P1, Major issue? It is a serious problem for all contributors outside Apple.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191006/5e1a5dca/attachment-0001.html>


More information about the webkit-unassigned mailing list