Skip to content

Commit 878cfeb

Browse files
authored
Make iOS demo build compatible with Xcode 26 (#1120)
1 parent 24a2a4f commit 878cfeb

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

examples/demo/ios/Podfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,14 @@ target 'Example' do
3131
:mac_catalyst_enabled => false,
3232
# :ccache_enabled => true
3333
)
34+
35+
installer.pods_project.targets.each do |target|
36+
next unless target.name == 'fmt'
37+
38+
target.build_configurations.each do |build_configuration|
39+
# Xcode 26's Clang rejects fmt 11's C++20 consteval format strings.
40+
build_configuration.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17'
41+
end
42+
end
3443
end
3544
end

examples/demo/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ PODS:
13381338
- React-jsiexecutor
13391339
- React-RCTFBReactNativeSpec
13401340
- ReactCommon/turbomodule/core
1341-
- react-native-app-auth (8.0.3):
1341+
- react-native-app-auth (8.3.0):
13421342
- AppAuth (>= 1.7.6)
13431343
- React-Core
13441344
- React-NativeModulesApple (0.79.2):
@@ -1931,7 +1931,7 @@ SPEC CHECKSUMS:
19311931
React-logger: 368570a253f00879a1e4fea24ed4047e72e7bbf3
19321932
React-Mapbuffer: c04fcda1c6281fc0a6824c7dcc1633dd217ac1ec
19331933
React-microtasksnativemodule: ca2804a25fdcefffa0aa942aa23ab53b99614a34
1934-
react-native-app-auth: 149f01d2c824758453c9e7815217ded451974683
1934+
react-native-app-auth: 2f5a3155dec63b23bb19654c806cb649ba31dc14
19351935
React-NativeModulesApple: 452b86b29fae99ed0a4015dca3ad9cd222f88abf
19361936
React-oscompat: ef5df1c734f19b8003e149317d041b8ce1f7d29c
19371937
React-perflogger: 6fd2f6811533e9c19a61e855c3033eecbf4ad2a0
@@ -1966,6 +1966,6 @@ SPEC CHECKSUMS:
19661966
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
19671967
Yoga: c758bfb934100bb4bf9cbaccb52557cee35e8bdf
19681968

1969-
PODFILE CHECKSUM: c54684e3f1470fec4ac3575659f327d0c2b216e3
1969+
PODFILE CHECKSUM: 1db384fdd374a87d35937b56f18331e74846937b
19701970

19711971
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)