Question Checklist
Updated grpc-swift to the latest version
im using version 1.0.0-alph.8
[ done]
I read the Contribution Guidelines
[done ]
I read README
[ done]
I searched for existing GitHub issues (especially, there are many resolved issues related to SSL)
Question Subject
I receive this error “missing required module ‘CNIOAtomics’ ” when I add an ios binary framework with a swift-GRPC dependency to an XCode ios app project.
Question Description
objective
to distribute an ios binary framework that has a swift-GRPC dependency
dev environment (this works)
i have an ios app that references an ios framework. In the ios framework, i have added swift-GRPC using the XCode 11 method to add a swift package. This works.
Test environment (does not build)
In my test environment, I have an XCode ios project with binary from the dev environment framework project as a library dependency. When i build the ios app i receive this error message “missing require module CNIOAtomics”.
I realize this issue probably does not have nuch to do with swift-grpc and might have more to do with my setup.
If someone can point me in a direction to help solve this issue it would be greatly apprecated
This is the solution that I tried
I’m getting this error when adding the above command in Other_swift_Flag as recommended by many article over internet
“Missing required module ‘XYZ'” on Unit Tests when using Swift Package Manager
Original issue I’m getting that CNIOAtomic.modulemap is missing when using grpc inside my binary
This is a known issue on grpc site.
https://github.com/grpc/grpc-swift/issues/683
and this is the workaround as suggested by the GRPC-Developer
https://github.com/apple/swift-nio/issues/1128#issuecomment-527566361
But while doing that I’m getting new error
Can someone please help me here