Skip to content

fix(ios): build without video support again - #1086

Merged
hryhoriiK97 merged 1 commit into
software-mansion:mainfrom
pingdotgg:fix/ios-utf8-without-video
Oct 26, 2026
Merged

hryhoriiK97 merged 1 commit into
software-mansion:mainfrom
pingdotgg:fix/ios-utf8-without-video

Conversation

@juliusmarminge

Copy link
Copy Markdown
Contributor

What/Why?

ENRMViewFreeMeasurement.h calls ENRMStringFromUTF8 in every measurement, but since #1027 it has imported ENRMUTF8.h only inside #if ENRICHED_MARKDOWN_VIDEO. An app with "enableVideo": false in its enriched-markdown config now fails to compile EnrichedMarkdownTextShadowNode.mm:

ios/internals/ENRMViewFreeMeasurement.h:188:26: error: use of undeclared identifier 'ENRMStringFromUTF8'

The example app keeps video on, so CI doesn't see this. This moves the import out of the video guard.

Testing

  • T3 Code's iOS app (enableVideo: false) fails to build on main with the error above and builds with this change.
  • clang-format is clean.

PR Checklist

  • Code compiles and runs on iOS
  • Code compiles and runs on Android, no Android change
  • Updated documentation/README if applicable, not applicable
  • Ran example app to verify changes, verified in a downstream app with video off
  • E2E tests are passing, not run
  • Required E2E tests have been added (if applicable)

Model: Claude Opus 5.5. Harness: Claude Code in T3 Code.

ENRMViewFreeMeasurement.h calls ENRMStringFromUTF8 for every measurement but imported ENRMUTF8.h only inside #if ENRICHED_MARKDOWN_VIDEO, so an app with "enableVideo": false failed to compile EnrichedMarkdownTextShadowNode.mm.
@hryhoriiK97
hryhoriiK97 merged commit 1a6cac4 into software-mansion:main Oct 26, 2026
16 checks passed
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.

2 participants