-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate framework with grpc-swift fails #1391
Comments
It looks like you're missing a dependency on SwiftProtobuf in your Podfile, can you try adding it? |
@glbrntt hello, this is my pod file:
gRPC-Swift already have a dependency to SwiftProtobuf, do I need add this dependency to my podfile too? |
I'm surprised it isn't pulled in as a transitive dependency so I think it's worth adding it to your podfile to try. |
I got the same error 😥 |
I had a quick look at this, you need to specify This gets us past the The first we see are:
These errors don't seem at all right to me: the code in question here and here is totally valid. I would hazard a guess that |
Yes I think this is about the fact that |
What are you trying to achieve?
I'm trying to create a lib to make some GRPC calls and distribute the implementation creating a XCFramework (I really need a XCFramework, pod or spm will not work for my case) but
xcodebuild archive
fails every time when I try to create the framework.OBS:My project it's a pod library that I want to create a XCFramework from it.
What have you tried so far?
I already have tried to create a pod and spm project and use the lib in an iOS POC project and works, but as I said early I need to consume the lib using a framework, but when a tried to create the framework running this script:
archive fails with the message:
I have this project in my public GitHub link, to configure the project just clone and run
pod install
and run the scriptbuild_framework.sh
.I don't know what else I need to do to create the framework 😩, I'm using gRPC-swift 1.7.3.
The text was updated successfully, but these errors were encountered: