Skip to content

XCFramework experiment#241

Closed
mokagio wants to merge 23 commits intotrunkfrom
mokagio/experiment-xcframework-2
Closed

XCFramework experiment#241
mokagio wants to merge 23 commits intotrunkfrom
mokagio/experiment-xcframework-2

Conversation

@mokagio
Copy link
Contributor

@mokagio mokagio commented Nov 27, 2025

Demo for building the package as an XCFramework, with CI bare bone integration tests.

image

What?

Why?

How?

Testing Instructions

Accessibility Testing Instructions

Screenshots or screencast

Comment on lines 5 to 7
echo "--- :pencil2: Breaking bundle resource path to verify test catches failures"
# Replace "Gutenberg" with "folder_that_does_not_exist" in the HTMLPreviewManager
sed -i.bak 's/forResource: "Gutenberg", withExtension: nil/forResource: "folder_that_does_not_exist", withExtension: nil/g' ios/Sources/GutenbergKit/Sources/Views/HTMLPreview/HTMLPreviewManager.swift
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we can't inject values that would result in a crash and we can't test for crashes anyways when targeting iOS we hack the code to force a crash and test that the tests fail as expected.

@mokagio mokagio mentioned this pull request Nov 27, 2025
@mokagio
Copy link
Contributor Author

mokagio commented Feb 13, 2026

Closing in favor of #318

@mokagio mokagio closed this Feb 13, 2026
@dcalhoun dcalhoun deleted the mokagio/experiment-xcframework-2 branch February 13, 2026 10:59
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.

1 participant

Comments