forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1diff --git a/node_modules/react-native/third-party-podspecs/fmt.podspec b/node_modules/react-native/third-party-podspecs/fmt.podspec
2index 2f38990..9b02e48 100644
3--- a/node_modules/react-native/third-party-podspecs/fmt.podspec
4+++ b/node_modules/react-native/third-party-podspecs/fmt.podspec
5@@ -26,4 +26,11 @@ Pod::Spec.new do |spec|
6 spec.public_header_files = "include/fmt/*.h"
7 spec.header_mappings_dir = "include"
8 spec.source_files = ["include/fmt/*.h", "src/format.cc"]
9+
10+ # TODO: Remove after upgrading React Native past 0.83.x
11+ # Fix fmt 11.0.2 consteval build error with Xcode 26.4 (facebook/react-native#55601)
12+ # Fixed in RN 0.84+ which bumps fmt to a compatible version.
13+ spec.prepare_command = <<~SCRIPT
14+ perl -i -pe 's/^# define FMT_USE_CONSTEVAL 1$/# define FMT_USE_CONSTEVAL 0/' include/fmt/base.h
15+ SCRIPT
16 end