RESOLVED INVALID 201869
Build fails as <objc/Protocol.h> header was removed from Xcode 11
https://bugs.webkit.org/show_bug.cgi?id=201869
Summary Build fails as <objc/Protocol.h> header was removed from Xcode 11
Adrian Niculescu
Reported 2019-09-17 05:35:50 PDT
As seen here: https://github.com/WebKit/webkit/blob/4768b5159b9dd4b2ce126808b0da8f7bdcd67a07/Source/JavaScriptCore/API/ObjcRuntimeExtras.h#L27 The ObjcRuntimeExtras file imports <objc/Protocol.h>. This header is missing in Xcode 11 GM and GM 2.
Attachments
Adrian Niculescu
Comment 1 2019-09-17 06:20:24 PDT
*The header is missing when building for iOS.
Jonathan Bedard
Comment 2 2019-09-17 11:29:20 PDT
(In reply to Adrian Niculescu from comment #1) > *The header is missing when building for iOS. Per <https://webkit.org/building-webkit/>, have you run sudo Tools/Scripts/configure-xcode-for-ios-development?
Adrian Niculescu
Comment 3 2019-09-18 06:07:01 PDT
(In reply to Jonathan Bedard from comment #2) > (In reply to Adrian Niculescu from comment #1) > > *The header is missing when building for iOS. > > Per <https://webkit.org/building-webkit/>, have you run sudo > Tools/Scripts/configure-xcode-for-ios-development? You are correct. I had multiple versions of Xcode installed and even though I ran sudo Tools/Scripts/configure-xcode-for-ios-development I did forget to use xcode-select to do this for every Xcode installation I needed to configure: What I should have done: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer sudo Tools/Scripts/configure-xcode-for-ios-development sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer sudo Tools/Scripts/configure-xcode-for-ios-development Thank you for your response.
Note You need to log in before you can comment on or make changes to this bug.