WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
287306
Using MTLStorageModeManaged builds on iOS in open source when it should not
https://bugs.webkit.org/show_bug.cgi?id=287306
Summary
Using MTLStorageModeManaged builds on iOS in open source when it should not
Mike Wyrzykowski
Reported
2025-02-07 16:31:59 PST
MTLStorageModeManaged is marked `API_UNAVAILABLE(ios)` (see MTLResource.h) but successfully compiles in EWS iOS. However, this leads to the following build breaks (potentially incomplete list):
https://bugs.webkit.org/show_bug.cgi?id=271480
https://bugs.webkit.org/show_bug.cgi?id=287301
https://bugs.webkit.org/show_bug.cgi?id=287303
but no where in WebKit can I find MTLStorageModeManaged redefined. Seems like iOS EWS is either using the wrong header files or thinks it is building for macOS?
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-02-10 14:06:48 PST
<
rdar://problem/144562693
>
Mike Wyrzykowski
Comment 2
2025-02-10 14:15:22 PST
EWS appears to be building iOS open source builds with the wrong SDK or compiler options. The header file on the bot is correct, but it ignores API_UNAVAILABLE macro: ``` MTLStorageModeManaged API_AVAILABLE(macos(10.11), macCatalyst(13.0)) API_UNAVAILABLE(ios) = 1, ``` from MTLResource.h
Alexey Proskuryakov
Comment 3
2025-02-11 15:07:10 PST
I don't see any indication of it building anything wrong in
https://s3-us-west-2.amazonaws.com/ews-archives.webkit.org/ios-18-arm64-release-compile-webkit/8cdf2d37-8912.txt
, it certainly uses the iOS SDK and deployment target.
Mike Wyrzykowski
Comment 4
2025-04-14 09:27:17 PDT
Seen again with
https://bugs.webkit.org/show_bug.cgi?id=291508
, watchOS EWS was green prior to landing but internal watchOS build fails to build
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