From 94a2f9e431c0882c7bf577e881eb996883a8991a Mon Sep 17 00:00:00 2001 From: NidhiDixit09 <93544270+NidhiDixit09@users.noreply.github.com> Date: Fri, 9 Aug 2024 07:40:32 -0700 Subject: [PATCH] Fix for flipper, xcode-15 issue. --- branch-sdk-automation-testbed/ios/Podfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/branch-sdk-automation-testbed/ios/Podfile b/branch-sdk-automation-testbed/ios/Podfile index 0c3afa7fd..ae9f7c7b3 100644 --- a/branch-sdk-automation-testbed/ios/Podfile +++ b/branch-sdk-automation-testbed/ios/Podfile @@ -42,6 +42,16 @@ def __xcode_15_workaround(installer) config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION'] config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' end + if target.name == 'Flipper' + file_path = 'Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h' + contents = File.read(file_path) + unless contents.include?('#include ') + File.open(file_path, 'w') do |file| + file.puts('#include ') + file.puts(contents) + end + end + end end end end