NativeScript / firebase

Modular Firebase 🔥 implementation for NativeScript. Supports both iOS & Android platforms for all Firebase services.
https://docs.nativescript.org/plugins/firebase-core.html
Apache License 2.0
56 stars 50 forks source link

GRPC Error during builds #269

Open EdJones opened 2 months ago

EdJones commented 2 months ago

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

This issue was addressed in gRPC 1.65.2 (https://github.com/firebase/firebase-ios-sdk/issues/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.

gordingin commented 1 month ago

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

Thanks

gordingin commented 1 month ago

tools/assets/App_Resources/iOS/Podfile

I found it, thanks