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.

Activity

gordingin

gordingin commented on Oct 14, 2024

@gordingin

I am getting this, can you specify what pod file and include the path.
Any other details like where in the file.

Thanks

gordingin

gordingin commented on Oct 14, 2024

@gordingin

tools/assets/App_Resources/iOS/Podfile

I found it, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @EdJones@gordingin

        Issue actions

          GRPC Error during builds · Issue #269 · NativeScript/firebase