Skip to content

Bump fmt to 12.1.0 to fix xcode 26.4 - #56099

Closed
leotm wants to merge 1 commit into
react:mainfrom
leotm:patch-7
Closed

Bump fmt to 12.1.0 to fix xcode 26.4#56099
leotm wants to merge 1 commit into
react:mainfrom
leotm:patch-7

Conversation

@leotm

@leotmleotm commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

Summary:

Follow-up to

TODO

  • bump packages/react-native/third-party-podspecs/fmt.podspec
  • bump scripts/releases/ios-prebuild/configuration.js
  • packages/react-native/third-party-podspecs/RCT-Folly.podspec
  • packages/react-native/gradle/libs.versions.toml
  • packages/rn-tester/Podfile.lock
    • rn-rester (main) ios not building on Xcode 26.3, CI currently only supports Xcode 16
    • i cannot downgrade macos26.4b4 locally to macos15 to install Xcode16.4 and bump pods this way
    • so on Xcode 26.3 i've attempted to bump only fmt minimally, ignoring remaining RN 0.86 hashes

Ref: https://github.com/search?q=repo%3Afacebook%2Freact-native+%2211.0.2%22&type=code

however unable to test rn-tester, ios doesn't seem to build on Xcode 26.3 let alone 26.4b
not tested previous versions of Xcode
not tested prior branches/tags to main

rn-tester CI is passing on old macos-15 Xcode 16.4.0 only, ideally this should be extended to stable macos lts and Xcode 26.3 stable first

separate follow-ups to this minimal fmt bump

  • bump CI macos-15 xcode 16.1-4 to macos-26 xcode 26.0-3
  • bump rn-tester Podfile.lock from RN 0.82 to 0.86 main (aka nightly)
  • bump folly to 2025.11.03.00
  • bump folly to 2026.03.09.00

Resolve: #55601

Changelog:

[General][Changed] Bump fmt to 12.1.0 to fix Xcode 26.4

Test Plan:

RNTester

@meta-clameta-claBot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 14, 2026
@leotmleotm changed the title Update fmt library version to 12.1.0Bump fmt to 12.1.0Mar 14, 2026
@leotmleotm changed the title Bump fmt to 12.1.0Bump fmt to 12.1.0 to fix xcode 26.4Mar 14, 2026
@Brett-Best

Brett-Best commented Mar 18, 2026

Copy link
Copy Markdown

Thanks @leotm, now that the RC is out it would be great to get this merged in so testing can commence :)

I think upgrading Folly to latest would be a good idea as well but perhaps it can be done in a separate PR?

@leotm
leotm marked this pull request as ready for review March 19, 2026 18:51
@facebook-github-toolsfacebook-github-toolsBot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Mar 19, 2026
@meta-codesync

Copy link
Copy Markdown

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this in D97358194.

@facebook-github-toolsfacebook-github-toolsBot added the Merged This PR has been merged. label Mar 19, 2026
@meta-codesync

Copy link
Copy Markdown

@cipolleschi merged this pull request in faeef2b.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @leotm in faeef2b

When will my fix make it into a release? | How to file a pick request?

alanleedev pushed a commit that referenced this pull request Mar 20, 2026
Summary:
Follow-up to
- #47033
- #50431
TODO
- [x] bump packages/react-native/third-party-podspecs/fmt.podspec
- [x] bump scripts/releases/ios-prebuild/configuration.js
- [x] packages/react-native/third-party-podspecs/RCT-Folly.podspec
- [x] packages/react-native/gradle/libs.versions.toml
- [x] packages/rn-tester/Podfile.lock
- rn-rester (main) ios not building on Xcode 26.3, CI currently only supports Xcode 16
- i cannot downgrade macos26.4b4 locally to macos15 to install Xcode16.4 and bump pods this way
- so on Xcode 26.3 i've attempted to bump only fmt minimally, ignoring remaining RN 0.86 hashes
Ref: https://github.com/search?q=repo%3Afacebook%2Freact-native+%2211.0.2%22&type=code
however unable to test rn-tester, ios doesn't seem to build on Xcode 26.3 let alone 26.4b
not tested previous versions of Xcode
not tested prior branches/tags to main
rn-tester CI is passing on old macos-15 Xcode 16.4.0 only, ideally this should be extended to stable macos lts and Xcode 26.3 stable first
separate follow-ups to this minimal fmt bump
- bump CI macos-15 xcode 16.1-4 to macos-26 xcode 26.0-3
- bump rn-tester Podfile.lock from RN 0.82 to 0.86 main (aka nightly)
- bump folly to 2025.11.03.00
- bump folly to 2026.03.09.00
Resolve: #55601
[General][Changed] Bump fmt to 12.1.0 to fix Xcode 26.4
Pull Request resolved: #56099
Test Plan: RNTester
Reviewed By: alanleedev
Differential Revision: D97358194
Pulled By: cipolleschi
fbshipit-source-id: 3eb578a99a310e3eb77433692bf35502d0d78d24
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @leotm in 506943c

When will my fix make it into a release? | How to file a pick request?

gabrieldonadel pushed a commit that referenced this pull request Apr 10, 2026
Summary:
Follow-up to
- #47033
- #50431
TODO
- [x] bump packages/react-native/third-party-podspecs/fmt.podspec
- [x] bump scripts/releases/ios-prebuild/configuration.js
- [x] packages/react-native/third-party-podspecs/RCT-Folly.podspec
- [x] packages/react-native/gradle/libs.versions.toml
- [x] packages/rn-tester/Podfile.lock
- rn-rester (main) ios not building on Xcode 26.3, CI currently only supports Xcode 16
- i cannot downgrade macos26.4b4 locally to macos15 to install Xcode16.4 and bump pods this way
- so on Xcode 26.3 i've attempted to bump only fmt minimally, ignoring remaining RN 0.86 hashes
Ref: https://github.com/search?q=repo%3Afacebook%2Freact-native+%2211.0.2%22&type=code
however unable to test rn-tester, ios doesn't seem to build on Xcode 26.3 let alone 26.4b
not tested previous versions of Xcode
not tested prior branches/tags to main
rn-tester CI is passing on old macos-15 Xcode 16.4.0 only, ideally this should be extended to stable macos lts and Xcode 26.3 stable first
separate follow-ups to this minimal fmt bump
- bump CI macos-15 xcode 16.1-4 to macos-26 xcode 26.0-3
- bump rn-tester Podfile.lock from RN 0.82 to 0.86 main (aka nightly)
- bump folly to 2025.11.03.00
- bump folly to 2026.03.09.00
Resolve: #55601
[General][Changed] Bump fmt to 12.1.0 to fix Xcode 26.4
Pull Request resolved: #56099
Test Plan: RNTester
Reviewed By: alanleedev
Differential Revision: D97358194
Pulled By: cipolleschi
fbshipit-source-id: 3eb578a99a310e3eb77433692bf35502d0d78d24
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @leotm in 3dd61db

When will my fix make it into a release? | How to file a pick request?

tsapeta added a commit to expo/expo that referenced this pull request Jun 4, 2026
The earlier fmt podspec bump alone wasn't enough — `RCT-Folly.podspec` pins
`fmt` to an exact version (`spec.dependency "fmt", "11.0.2"`), so leaving it at
11.0.2 made CocoaPods unable to resolve a compatible `fmt`. Bumps that pin to
12.1.0 too (matching react/react-native#56099), and regenerates the macOS
`Podfile.lock` so the committed lock matches what `pod install` produces.
Saadnajmi added a commit to microsoft/react-native-macos that referenced this pull request Jun 26, 2026
## 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.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Saadnajmi added a commit to Saadnajmi/react-native-macos that referenced this pull request Jul 6, 2026
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
RNTester macOS builds successfully on Xcode 26.4.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.MergedThis PR has been merged.Shared with MetaApplied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Xcode 26.4b1/b2/b3/RC • FMT Compile Errors (it needs upgrading) • REPRO **IS** included despite the erroneous label

3 participants

@leotm@Brett-Best@react-native-bot