Open tgprojet opened 2 years ago
I have found the issue. The problem that it takes the module name from a podspec file and generates header for module mapping using this name.
For example if we open CocoaPods
This file contains "module_name": "NIOConcurrencyHelpers",
However the Pod name is SwiftNIOConcurrencyHelpers
so it generates file with the following name SwiftNIOConcurrencyHelpers-Swift.h
So to solve issue I need to copy the SwiftNIOConcurrencyHelpers-Swift.h
file to NIOConcurrencyHelpers-Swift.h
.
The same issue with Secp256k1Kit.swift"
this pod contains .
dot in the name.
Please suggest how to solve the issue without manual copying header files?
I am having issues with building the SwiftNIO module.
Here is my WORKSPACE file:
When I try to build the project, I get this error:
could not build Objective-C module 'NIOConcurrencyHelpers'
And it generates the following module file:
The
SwiftNIOConcurrencyHelpers
module itself builds without any errors. This error happens when the SWIFTNioCore module is being built.Here is the full stacktrace:
Please help to solve this issue