Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gRPC-Core: A template argument list is expected after a name prefixed by the template keyword basic_seq.h:103

I'm getting this error when I tried to upload my code to Xcode cloud -- this same project uploaded fine previously so I've deduced it's a dependency issue. Here is my current pods file for reference. I was wondering if there's a pod I should change to resolve my issue? Thank you.

platform :ios, '15.0'

target 'collegeMarketPlace' do
  use_frameworks!

  # Don't pin versions unless necessary
  pod 'FirebaseAuth'
  pod 'FirebaseFirestore'
  pod 'FirebaseStorage'
  pod 'FirebaseAnalytics'
  pod 'FirebaseFunctions'
  pod 'FirebaseMessaging'
  pod 'FirebaseFirestoreSwift'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    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
    end
  end
end
like image 385
Vijay Krishnamoorthi Avatar asked Oct 20 '25 10:10

Vijay Krishnamoorthi


1 Answers

I face the same issue with Xcode 16.0.3

As a workaround, replace in file basic_seq.h

Traits::template CallSeqFactory(f_, *cur_, std::move(arg));

with:

Traits::CallSeqFactory(f_, *cur_, std::move(arg));
like image 110
Xaypanya Phongsa Avatar answered Oct 22 '25 03:10

Xaypanya Phongsa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!