fix build

This commit is contained in:
Milan Paunovic
2024-09-27 12:13:39 +02:00
parent ba5a32eb88
commit 92f72b4483
8 changed files with 47 additions and 16 deletions
+13 -1
View File
@@ -30,7 +30,19 @@ target 'cally' do
:privacy_file_aggregation_enabled => podfile_properties['apple.privacyManifestAggregationEnabled'] != 'false',
)
post_install do |installer|
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'BoringSSL-GRPC'
target.source_build_phase.files.each do |file|
if file.settings && file.settings['COMPILER_FLAGS']
flags = file.settings['COMPILER_FLAGS'].split
flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }
file.settings['COMPILER_FLAGS'] = flags.join(' ')
end
end
end
end
react_native_post_install(
installer,
config[:reactNativePath],