Skip to content

Bump GutenbergKit to 0.17.1 (test xcframework resources)#25632

Draft
mokagio wants to merge 2 commits into
trunkfrom
mokagio/ainfra-1968-gbk-0171-xcframework
Draft

Bump GutenbergKit to 0.17.1 (test xcframework resources)#25632
mokagio wants to merge 2 commits into
trunkfrom
mokagio/ainfra-1968-gbk-0171-xcframework

Conversation

@mokagio

@mokagio mokagio commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

🤖 Auto agent note: Opened by Claude (Opus 4.8) doing background investigation on behalf of @mokagio. Test bump to validate the GutenbergKit xcframework resource distribution against CI — not intended to merge as-is.

Description

Bumps GutenbergKit from 0.15.0 to 0.17.1.

0.17.1 is the first GutenbergKit release that ships the GutenbergKitResources sub-dependency as a prebuilt xcframework (DependencyMode.release, fetched from CDN) instead of building it from local source. This PR exercises that distribution path end-to-end in WordPress-iOS.

Pinned with exact: "0.17.1" to keep the test deterministic.

Part of AINFRA-1968.

Findings so far

  • The xcframework distribution itself works. On the first CI run, GutenbergKitResources.framework downloaded from CDN, was copied into the app, and code-signed cleanly.
  • The first run failed only on an app-side source-compat break: 0.17.1 adds five lockdownMode* cases to EditorLocalizableString, which made the exhaustive switch in GBKExtensions.swift non-exhaustive. Second commit maps those cases, which should be the only app change required by this bump.

Testing instructions

  • Let CI build the app and run the editor-related tests.
  • Smoke-test the block editor (open a post, insert/edit blocks) to confirm the xcframework-distributed resources load at runtime.

`0.17.1` is the first GutenbergKit release that ships the
`GutenbergKitResources` sub-dependency as a prebuilt xcframework
(`DependencyMode.release`) fetched from CDN, rather than building it
from local source. Pinned with `exact:` so this test bump stays on that
specific release while we validate the xcframework distribution.

Test bump for AINFRA-1968.

---

Generated with the help of Claude Code, https://claude.ai/code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mokagio mokagio self-assigned this Jun 10, 2026
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@wpmobilebot

Copy link
Copy Markdown
Contributor

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

GutenbergKit 0.17.1 adds five `lockdownMode*` cases to
`EditorLocalizableString`, which makes the exhaustive `switch` in
`getLocalizedString(for:)` non-exhaustive and fails the build. Map the
new cases to localized strings.

---

Generated with the help of Claude Code, https://claude.ai/code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number32490
VersionPR #25632
Bundle IDorg.wordpress.alpha
Commita8b3276
Installation URL1pb27aun201q8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number32490
VersionPR #25632
Bundle IDcom.jetpack.alpha
Commita8b3276
Installation URL7mu72dg5gisio
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants