I encountered exactly the same error after updating to Xcode 16. This is a compatibility issue between Xcode 16's stricter C++ compiler and certain syntax in recent versions of gRPC-Core.
To solve this problem, simply specify more stable versions of gRPC in your Podfile:
pod 'gRPC-Core', '~> 1.44.0'
pod 'gRPC-C++', '~> 1.44.0'
# Something like this :
platform :ios, '15.0'
target 'collegeMarketPlace' do
use_frameworks!
# Your existing Firebase pods
pod 'FirebaseAuth'
pod 'FirebaseFirestore'
pod 'FirebaseStorage'
pod 'FirebaseAnalytics'
pod 'FirebaseFunctions'
pod 'FirebaseMessaging'
pod 'FirebaseFirestoreSwift'
# Specify stable gRPC versions
pod 'gRPC-Core', '~> 1.44.0'
pod 'gRPC-C++', '~> 1.44.0'
end
Then run:
pod deintegrate
pod install --repo-update