From a63301f1fbf825c2809d2e27a75299761a2175dc Mon Sep 17 00:00:00 2001 From: siepra Date: Mon, 9 Oct 2023 12:15:10 +0200 Subject: [PATCH] Workaround for ARM64 GCC preprocessors --- packages/mobile/ios/Podfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/mobile/ios/Podfile b/packages/mobile/ios/Podfile index 77454055bb..b21c48303c 100644 --- a/packages/mobile/ios/Podfile +++ b/packages/mobile/ios/Podfile @@ -27,5 +27,11 @@ target 'Quiet' do post_install do |installer| react_native_post_install(installer) + + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION'] + end + end end end