Skip to content

Commit

Permalink
🔧 - Update Podfile to fix BoringSSL-GRPC on Xcode 16 Beta (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
guytepper authored Aug 3, 2024
1 parent a10bc45 commit 8a282c8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ target 'BetterRail' do
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION']
end

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
end
end
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1654,6 +1654,6 @@ SPEC CHECKSUMS:
SPIndicator: 93e0a4fb23de51294ac48e874c0f081a5e293e4f
Yoga: d56980c8914db0b51692f55533409e844b66133c

PODFILE CHECKSUM: f465a3144dcf6c21f4b2675c0ae56a08a5fa8d9c
PODFILE CHECKSUM: 6adde6be1053c64cfe5d0c7f9989e328b209af9f

COCOAPODS: 1.15.2

0 comments on commit 8a282c8

Please sign in to comment.