Skip to content

Commit 506943c

Browse files
leotmalanleedev
authored andcommitted
Bump fmt to 12.1.0 to fix xcode 26.4 (#56099)
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
1 parent 690e281 commit 506943c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

packages/react-native/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ yoga-proguard-annotations = "1.19.0"
4444
boost="1_83_0"
4545
doubleconversion="1.1.6"
4646
fastFloat="8.0.0"
47-
fmt="11.0.2"
47+
fmt="12.1.0"
4848
folly="2024.11.18.00"
4949
glog="0.3.5"
5050
gflags="2.2.0"

packages/react-native/third-party-podspecs/RCT-Folly.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Pod::Spec.new do |spec|
2525
spec.dependency "DoubleConversion"
2626
spec.dependency "glog"
2727
spec.dependency "fast_float", "8.0.0"
28-
spec.dependency "fmt", "11.0.2"
28+
spec.dependency "fmt", "12.1.0"
2929
spec.compiler_flags = '-Wno-documentation -faligned-new'
3030
spec.source_files = 'folly/String.cpp',
3131
'folly/Conv.cpp',

packages/react-native/third-party-podspecs/fmt.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ fmt_git_url = fmt_config[:git]
88

99
Pod::Spec.new do |spec|
1010
spec.name = "fmt"
11-
spec.version = "11.0.2"
11+
spec.version = "12.1.0"
1212
spec.license = { :type => "MIT" }
1313
spec.homepage = "https://github.com/fmtlib/fmt"
1414
spec.summary = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams."
1515
spec.authors = "The fmt contributors"
1616
spec.source = {
1717
:git => fmt_git_url,
18-
:tag => "11.0.2"
18+
:tag => "12.1.0"
1919
}
2020
spec.pod_target_xcconfig = {
2121
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),

scripts/releases/ios-prebuild/configuration.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ const dependencies /*: $ReadOnlyArray<Dependency> */ = [
8080
},
8181
{
8282
name: 'fmt',
83-
version: '11.0.2',
83+
version: '12.1.0',
8484
url: new URL(
85-
'https://github.com/fmtlib/fmt/archive/refs/tags/11.0.2.tar.gz',
85+
'https://github.com/fmtlib/fmt/archive/refs/tags/12.1.0.tar.gz',
8686
),
8787
files: {
8888
sources: ['src/format.cc', 'include/fmt/*.h'],

0 commit comments

Comments
 (0)