WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
300146
WebGPU Swift build fails on iOS 26 simulator
https://bugs.webkit.org/show_bug.cgi?id=300146
Summary
WebGPU Swift build fails on iOS 26 simulator
Elliott Williams
Reported
2025-10-03 15:34:15 PDT
I'm having trouble building using the public iOS 26 SDK, with `build-webkit --ios-device --release`. It fails inside WebGPU for module reasons: ``` /Users/emw/src/public/wk2/WebKitBuild/Release-iphonesimulator/SDKAdditions/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h:54:1: error: import of C++ module 'OpenGLES.gltypes' appears within extern "C" language linkage specification #include <OpenGLES/gltypes.h> ^ /Users/emw/src/public/wk2/WebKitBuild/Release-iphonesimulator/SDKAdditions/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h:8:1: note: extern "C" language linkage specification begins here extern "C" { ^ /Users/emw/src/public/wk2/Source/WebGPU/WebGPU/Device.h:35:9: note: while building module 'CoreVideo' imported from /Users/emw/src/public/wk2/Source/WebGPU/WebGPU/Device.h:35: #import <CoreVideo/CVMetalTextureCache.h> ``` Not sure what the underlying cause is yet. One thing that's different about OpenGLES in the iOS Simulator build compared to the device build is that it's not present in the simulator SDK, so we have to copy its headers out of the device SDK.
Attachments
Add attachment
proposed patch, testcase, etc.
Elliott Williams
Comment 1
2025-10-03 16:13:53 PDT
Mike says that it may make more sense to completely disable WebGPU from building for simulator, since it's not actually supported or used at runtime.
Radar WebKit Bug Importer
Comment 2
2025-10-10 15:35:11 PDT
<
rdar://problem/162398835
>
Mike Wyrzykowski
Comment 3
2026-02-26 07:43:00 PST
Looks like this is resolved by an OpenGLES change
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug