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 Problem (Xcode): A template argument record 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 difficulty.
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 adjustments, 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 recognized to have points with Xcode 15+ and 16+. Nonetheless, I can’t downgrade to Xcode 14.3 as a result of it’s not supported on macOS Sequoia (15.x).
My Present Constraints:
I’m unable to downgrade to Xcode 14.3 attributable to macOS Sequoia’s necessities.
I want to make use of Firebase in my venture, so eradicating it’s not an choice.
I’ve already tried all recognized workarounds, together with cleansing the CocoaPods cache, modifying the Podfile, and downgrading dependencies.
Questions:
Is there a selected 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 special 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 suitable with Xcode 16+?
Any assist or steering can be tremendously appreciated. Thanks!