HomeiOS DevelopmentFirebase gRPC-Core Compilation Error on Xcode 16.3 with Flutter iOS App

Firebase gRPC-Core Compilation Error on Xcode 16.3 with Flutter iOS App


I’m engaged on a Flutter venture that makes use of Firebase for iOS. My present setup is as follows:

macOS Model: macOS Sequoia (15.x)
Xcode Model: Xcode 16.3
Flutter Model: 3.x
Firebase SDK Model: 10.25.0 (as resolved by firebase_core)
gRPC-Core Model: 1.62.5 (as resolved by CocoaPods)
When I attempt to construct my Flutter app for the iOS simulator, the construct fails with the next error:

Parse Subject (Xcode): A template argument checklist is predicted after a reputation prefixed by the template key phrase /Customers/nlay/Paperwork/ios/Pods/gRPC-Core/src/core/lib/promise/element/basic_seq.h:102:37

What I’ve Tried So Far:
Cleansing and Reinstalling Pods:

cd ios
rm -rf Pods Podfile.lock construct Runner.xcworkspace
pod set up --repo-update
cd ..
flutter clear
flutter run

This didn’t resolve the problem.

Modifying the Podfile:

I added the next configurations within the post_install block:

config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17'
config.build_settings['CLANG_CXX_LIBRARY'] = 'libc++'
config.build_settings['OTHER_CPLUSPLUSFLAGS'] = '-std=c++17'
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'

Regardless of these modifications, the error persists.
Downgrading Firebase SDK:
I tried to downgrade Firebase to older variations (e.g., firebase_core: 2.15.1), however the challenge stays.

Checking Xcode Compatibility:
I perceive that Firebase and gRPC-Core are identified to have points with Xcode 15+ and 16+. Nonetheless, I can not downgrade to Xcode 14.3 as a result of it isn’t supported on macOS Sequoia (15.x).

My Present Constraints:
I’m unable to downgrade to Xcode 14.3 resulting from macOS Sequoia’s necessities.
I want to make use of Firebase in my venture, so eradicating it isn’t an choice.
I’ve already tried all identified workarounds, together with cleansing the CocoaPods cache, modifying the Podfile, and downgrading dependencies.

Questions:
Is there a particular mixture of Firebase and gRPC-Core variations that works with Xcode 16.3?
Are there any patches or workarounds for this gRPC-Core compilation challenge?
Ought to I think about using a CI/CD service or a distinct macOS model to construct my app? If that’s the case, what would you advocate?
Is there an ETA for Firebase/gRPC to launch a model appropriate with Xcode 16+?
Any assist or steerage can be enormously appreciated. Thanks!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments