Conversation
Newer Apple Clang toolchains fail to compile fmt 11.0.2 under C++20 with consteval-related errors, blocking simulator builds on Xcode 26. Keep the workaround in Podfile post_install so pod regeneration consistently reapplies FMT_USE_CONSTEVAL=0 and fmt-specific C++17 settings instead of requiring manual edits in Pods/.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f4e8c87. Configure here.
| # May not be needed when upgrading to newer versions of React Native. | ||
| if target.name == 'fmt' | ||
| config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17' | ||
| end |
There was a problem hiding this comment.
First C++17 setting for fmt is dead code
Low Severity
The CLANG_CXX_LANGUAGE_STANDARD = 'c++17' setting for fmt at lines 82–84 is overwritten by react_native_post_install (line 109), which the comment at line 116 explicitly acknowledges resets C++ standards. Only the second block (lines 119–139) has a lasting effect, making the first setting dead code that could mislead future maintainers into thinking it's effective.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit f4e8c87. Configure here.


Newer Apple Clang toolchains fail to compile fmt 11.0.2 under C++20 with consteval-related errors, blocking simulator builds on Xcode 26.
Keep the workaround in Podfile post_install so pod regeneration consistently reapplies FMT_USE_CONSTEVAL=0 and fmt-specific C++17 settings instead of requiring manual edits in Pods/.
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneRequirements
If you have made any visual changes to the GUI. Make sure you have:
Note
Medium Risk
Moderate risk because it changes global pod build settings and post-install behavior, which can affect compilation flags across dependencies and may introduce subtle build issues on other Xcode/CI configurations.
Overview
Fixes Xcode/Apple Clang build failures by adding Podfile
post_installworkarounds for thefmtpod: globally definesFMT_USE_CONSTEVAL=0and forcesfmtto compile as C++17.Because
react_native_post_installcan override podspec C++ settings, the PR also re-applies thefmtC++17 settings after that step (including updating generated.xcconfigfiles) so the workaround persists acrosspod installregenerations.Reviewed by Cursor Bugbot for commit f4e8c87. Bugbot is set up for automated code reviews on this repo. Configure here.