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
XCFramework Support #28749
Comments
Hi @dennycd! Any update on this? |
Hey @sethfri , we will be adding this support in Q2, stay tuned |
Hey @dennycd, I hope all is well! I wanted to check in with a few questions:
For |
Hey @sethfri, YES ! that is still the case for us.
We will have 3 stages for this, roughly matching the dependency graph in our current Cocoapod target settings
Likely you would see build improvement when we get to stage 2 (Native C-Core) as gRPC-Core is the one taking the largest chunk of build time. But the goal is to at least have stage 1 & 2 done by end of Q2 ; ) Hope this helps clarify the timelines a bit more.
note that we (gRPC/iOS) currently maintains BoringSSL-GRPC and Abseil Cocoapod build & release distribution. |
Hi @dennycd! Are we still on track for Stage 1 and 2 by end of this week? |
Hey @sethfri , the dev preview for the xcframework build should now be available in our v1.48.0 release (see our release notes for more details). Please give it a try and let us know if your team run into any issues using it. Happy to follow up and address them. |
Hey @dennycd, first of all - thank you very much! |
Is your feature request related to a problem? Please describe.
When importing gRPC via CocoaPods, it is currently only available as a source pod. This means when we import gRPC into our app, we have to rebuild it every time we do a clean build. This adds over 60 seconds to our build times, and is one of the slowest things that happens during our builds.
Describe the solution you'd like
Apple has a native binary format called an xcframework that would allow for gRPC to be distributed as a binary pod, and CocoaPods plugins like cocoapods-pack exist to produce xcframeworks from podspecs. If gRPC was distributed as an xcframework, we would be able to import it as a binary pod and shave a full minute off our clean build times, which would speed up the builds for our app in particular by 15%. This would be a huge boon for every iOS app that imports gRPC.
The text was updated successfully, but these errors were encountered: