Hello,
We have found that when the KSCrash pod is included with the gRPC-Core pod, it leads to C++ 'undefined template' errors to do with the Optional type.
The minimal reproduction case is to:
- Create an empty iOS application using Swift in Xcode
- Run `pod init`
- Add `pod 'KSCrash'` and `pod 'gRPC-Core'` to the dependencies
- Run `pod install`
- Open the workspace file
- Try to build the project
Compilation is halted early due to many errors such as:
> Implicit instantiation of undefined template 'llvm::Optional<char>' Demangle.cpp
As I understand it, both dependencies declare an Optional template, but in different namespaces. Independently these dependencies compile fine, but together you can observe the errors above.
Can anyone possibly explain the issue and point us in the right direction for a solution to enable use of both libraries?
Thanks in advance,
Chris
P.S. this is the tooling I'm using:
- Xcode 10.2.1
- Swift 5
- CocoaPods 1.7.1