XcodeBenchmark
XcodeBenchmark copied to clipboard
Build error stemming from gRPC-Core: a template argument list is expected after a name prefixed by the template
I'm seeing the following error when trying to build the benchmark project on MacOS 15.4 on a M4 Macbook Air.
/XcodeBenchmark/Pods/gRPC-Core/src/core/lib/promise/detail/basic_seq.h:499:38: error:
a template argument list is expected after a name prefixed by the template
keyword [-Wmissing-template-arg-list-after-template-kw]
499 | Traits::template CallSeqFactory(f_, *cur_, std::move(arg)));
| ^
1 error generated.
...
The following build commands failed:
CompileC /Users/aivant/Documents/XcodeBenchmark/DerivedData/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/gRPC-Core.build/Objects-normal/arm64/memory_quota.o /Users/aivant/Documents/XcodeBenchmark/Pods/gRPC-Core/src/core/lib/resource_quota/memory_quota.cc normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC-Core' from project 'Pods')
Building workspace XcodeBenchmark with scheme XcodeBenchmark
(2 failures)
I suspect this has to do with this issue and will require an update to Firebase 11
I'm trying to put a PR up for bumping Firebase but got rate-limited by the github API 🙃
Also I'm not sure if updating Firebase effectively invalidates previous benchmarks, so curious if there are other ideas for getting around this issue
I'm on a brand new M4 Pro MBP with a fresh xcode install, fresh clone of the repo, and am having a build failure on the same file. I checked the Podfile.lock and it indeed has Firebase 10 instead of 11 as has been pointed out in the other thread is the issue; this is a problem that needs fixed in this project and the updated lock file pushed.
This is causing a major delay in the development. Any workaround or any solution for this?
Has someone a solution for this? There was a new benchmark submitted. So there may be.
I've fixed the issue.
Let me know if it works for you.
I've tested with Xcode 16.3, 16.1, 16.0
Let me know if it works for you. I've tested with Xcode
16.3,16.1,16.0
where is the solution?
EDIT: found the fix. you need to modify Traits::template CallSeqFactory(f_, *cur_, std::move(arg)) to Traits::template CallSeqFactory<>(f_, *cur_, std::move(arg))
XCode version 16.3
@viktorvoltz, I've updated pods and the issue seems to be resolved. Is it still occurring for you?