RESOLVED FIXED309970
[audit-spi] Swift symbols can change between SDK builds, breaking allowlists
https://bugs.webkit.org/show_bug.cgi?id=309970
Summary [audit-spi] Swift symbols can change between SDK builds, breaking allowlists
Elliott Williams
Reported 2026-03-14 18:51:55 PDT
A problem we've been seeing as we stage adoption of Swift API in the SDK is that Swift provides a number of language features that make it possible for library authors to make source-compatible but ABI-breaking changes. For example, adding new parameters to a function with default values. Since we track SPI usage at the symbol level, this causes our allowlists to go out of date as the SDK changes, despite us not changing the Swift declarations we bind to. It would be helpful to have a higher-level way to describe the Swift interfaces we are using.
Attachments
Elliott Williams
Comment 1 2026-03-16 10:29:28 PDT
Elliott Williams
Comment 2 2026-03-16 10:30:14 PDT
Radar WebKit Bug Importer
Comment 3 2026-03-16 11:08:35 PDT
EWS
Comment 4 2026-04-08 22:46:07 PDT
Committed 310820@main (8a4f2c1e1043): <https://commits.webkit.org/310820@main> Reviewed commits have been landed. Closing PR #60706 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.