Skip to content

chore: bump fmt to 12.1.0 to fix Xcode 26.4#2996

Merged
Saadnajmi merged 1 commit into
microsoft:mainfrom
Saadnajmi:snajmi/bump-fmt-12.1.0
Jun 26, 2026
Merged

chore: bump fmt to 12.1.0 to fix Xcode 26.4#2996
Saadnajmi merged 1 commit into
microsoft:mainfrom
Saadnajmi:snajmi/bump-fmt-12.1.0

Conversation

@Saadnajmi

Copy link
Copy Markdown
Collaborator

Summary

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.

Changes:

  • packages/react-native/third-party-podspecs/fmt.podspec: 11.0.2 → 12.1.0
  • `packages/react-native/third-party-podspecs/RCT-Folly.podspec": fmt dep 11.0.2 → 12.1.0
  • packages/react-native/gradle/libs.versions.toml: 11.0.2 → 12.1.0
  • packages/rn-tester/Podfile.lock: updated fmt version + checksum
  • scripts/releases/ios-prebuild/configuration.js: 11.0.2 → 12.1.0

Test Plan

RNTester macOS builds successfully on Xcode 26.4.

@Saadnajmi Saadnajmi requested a review from a team as a code owner June 25, 2026 18:55
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 snajmi/bump-fmt-12.1.0 branch from d4eb004 to e60285a Compare June 25, 2026 19:13
@Saadnajmi Saadnajmi merged commit b24f8eb into microsoft:main Jun 26, 2026
31 checks passed
@Saadnajmi Saadnajmi deleted the snajmi/bump-fmt-12.1.0 branch June 26, 2026 00:22
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