NativeScript/firebase

GRPC Error during builds

EdJones opened this issue · 2 comments

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.

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

Thanks

tools/assets/App_Resources/iOS/Podfile

I found it, thanks