Skip to content

chore(0.81): bump fmt to 12.1.0 to fix Xcode 26.4#2997

Merged
Saadnajmi merged 3 commits into
microsoft:0.81-stablefrom
Saadnajmi:0.81/snajmi/bump-fmt-12.1.0
Jun 26, 2026
Merged

chore(0.81): bump fmt to 12.1.0 to fix Xcode 26.4#2997
Saadnajmi merged 3 commits into
microsoft:0.81-stablefrom
Saadnajmi:0.81/snajmi/bump-fmt-12.1.0

Conversation

@Saadnajmi

Copy link
Copy Markdown
Collaborator

Summary

Backport of the changes from branch snajmi/bump-fmt-12.1.0 to 0.81-stable.

Cherry-pick of react@faeef2b (react#56099).

fmt 11.0.2 enables consteval on Apple clang ≥ 14 (which includes Xcode 26.4), but Xcode 26.4's stricter clang rejects consteval expressions in fmt's format-inl.h. fmt 12.1.0 fixes this.

Note

Podfile.lock checksums for RCT-Folly may need to be regenerated with pod install on 0.81-stable since the RCT-Folly.podspec dependency on fmt was updated.

Test Plan

Same as the original PR.

@Saadnajmi Saadnajmi requested a review from a team as a code owner June 25, 2026 18:59
Cherry-pick of react@faeef2b

- packages/react-native/third-party-podspecs/fmt.podspec
- packages/react-native/third-party-podspecs/RCT-Folly.podspec
- packages/react-native/gradle/libs.versions.toml
- packages/rn-tester/Podfile.lock
- scripts/releases/ios-prebuild/configuration.js

fmt 11.0.2 uses consteval which is rejected by Xcode 26.4's stricter clang. fmt 12.1.0 fixes this.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Saadnajmi Saadnajmi force-pushed the 0.81/snajmi/bump-fmt-12.1.0 branch from bace10d to ddfda98 Compare June 25, 2026 19:14
The init workflow installs a local react-native-macos tarball, but that package depends on @react-native-macos/virtualized-lists@0.81.8, which is not published to npm yet.\n\nPack and install virtualized-lists locally before installing react-native-macos, so the dependency graph is resolved from local artifacts during PR validation.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Saadnajmi Saadnajmi merged commit 2a59168 into microsoft:0.81-stable Jun 26, 2026
22 of 24 checks passed
@Saadnajmi Saadnajmi deleted the 0.81/snajmi/bump-fmt-12.1.0 branch June 26, 2026 00:54
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