Skip to content

GRPC Error during builds  #269

Open
Open
@EdJones

Description

@EdJones

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions