Skip to content

Commit 592ab6a

Browse files
authored
chore: fix Xcode 26.4 build error on example app (#541)
1 parent ce7301a commit 592ab6a

2 files changed

Lines changed: 170 additions & 158 deletions

File tree

apps/example/ios/Podfile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,16 @@ require "#{ws_dir}/node_modules/react-native-test-app/test_app.rb"
88

99
workspace 'ReactNativeBottomTabsExample.xcworkspace'
1010

11-
use_test_app! :hermes_enabled => true, :fabric_enabled => true
11+
use_test_app!(
12+
:hermes_enabled => true,
13+
:fabric_enabled => true,
14+
:post_install => lambda { |installer|
15+
# Workaround to Xcode 26.4 build error: "call to consteval function 'fmt::basic_format_string' is not a constant expression"
16+
installer.pods_project.targets.each do |target|
17+
next unless target.name == 'fmt'
18+
target.build_configurations.each do |config|
19+
config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17'
20+
end
21+
end
22+
}
23+
)

0 commit comments

Comments
 (0)