Skip to content

Commit

Permalink
Fix for flipper, xcode-15 issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiDixit09 committed Aug 9, 2024
1 parent 5ecb2c8 commit 94a2f9e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions branch-sdk-automation-testbed/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <functional>')
File.open(file_path, 'w') do |file|
file.puts('#include <functional>')
file.puts(contents)
end
end
end
end
end
end
Expand Down

0 comments on commit 94a2f9e

Please sign in to comment.