Skip to content

[RN][iOS][0.76] Bump folly to fix xcode 16.3 removed traits#50431

Merged
cipolleschi merged 2 commits into0.76-stablefrom
cipolleschi/bump-folly-for-xcode163
Apr 3, 2025
Merged

[RN][iOS][0.76] Bump folly to fix xcode 16.3 removed traits#50431
cipolleschi merged 2 commits into0.76-stablefrom
cipolleschi/bump-folly-for-xcode163

Conversation

@cipolleschi
Copy link
Contributor

@cipolleschi cipolleschi commented Apr 1, 2025

Summary:

Xcode 16.3 removes the base template for std::char_traits: developer.apple.com/documentation/xcode-release-notes/xcode-16_3-release-notes

Changelog:

[iOS][Changed] - Bumped folly to fix Xcode 16.3

Test Plan:

Tested that RNTester builds for both iOS and Android with this PR.

@cipolleschi cipolleschi changed the base branch from main to 0.76-stable April 1, 2025 15:08
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Apr 1, 2025
@cipolleschi cipolleschi changed the title cipolleschi/bump folly for xcode163 [RN][iOS][0.76] Bump folly to fix xcode 16.3 removed traits Apr 1, 2025
@cipolleschi cipolleschi marked this pull request as ready for review April 1, 2025 15:09
Copy link
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Comment on lines 10 to -18
spec.name = "fmt"
spec.version = "9.1.0"
spec.version = "11.0.2"
spec.license = { :type => "MIT" }
spec.homepage = "https://github.com/fmtlib/fmt"
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."
spec.authors = "The fmt contributors"
spec.source = {
:git => fmt_git_url,
:tag => "9.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cipolleschi Are we bumping FMT also? If so this needs to be mentioned in changelog

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it is required by folly.

fast_float_git_url = fast_float_config[:git]

Pod::Spec.new do |spec|
spec.name = "fast_float"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also this needs to be called out in the changelog

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cipolleschi cipolleschi merged commit 73b41b5 into 0.76-stable Apr 3, 2025
6 of 9 checks passed
leotm added a commit to leotm/react-native-1 that referenced this pull request Mar 14, 2026
@leotm leotm mentioned this pull request Mar 14, 2026
5 tasks
leotm added a commit to leotm/react-native-1 that referenced this pull request Mar 19, 2026
leotm added a commit to leotm/react-native-1 that referenced this pull request Mar 19, 2026
meta-codesync bot pushed a commit that referenced this pull request Mar 19, 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

## Changelog:

[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner Pick Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants