Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRPC Error during builds #269

Open
EdJones opened this issue Sep 18, 2024 · 0 comments
Open

GRPC Error during builds #269

EdJones opened this issue Sep 18, 2024 · 0 comments

Comments

@EdJones
Copy link

EdJones commented Sep 18, 2024

Building with Xcode 16 induces errors
unsupported option '-G' for target 'arm64-apple-ios14.0'

This issue was addressed in gRPC 1.65.2 (firebase/firebase-ios-sdk#13115).

But I wasn't able to find if/where it was rolled into Firebase Apple SDK.

I did get a workaround. Adding

    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

to my pod file let the build proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant