From 50962588909da31791c8f5926615269463d436d0 Mon Sep 17 00:00:00 2001 From: NidhiDixit09 <93544270+NidhiDixit09@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:28:23 -0700 Subject: [PATCH] Fix for xcode-15 target settings --- branch-sdk-automation-testbed/ios/Podfile | 1 + 1 file changed, 1 insertion(+) diff --git a/branch-sdk-automation-testbed/ios/Podfile b/branch-sdk-automation-testbed/ios/Podfile index 3f57cc341..0c3afa7fd 100644 --- a/branch-sdk-automation-testbed/ios/Podfile +++ b/branch-sdk-automation-testbed/ios/Podfile @@ -39,6 +39,7 @@ def __xcode_15_workaround(installer) if xcode_version >= Gem::Version.new('15.0') 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'] config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' end end