abseil / abseil/abseil-cpp

XCFramework Support via CocoaPods

未关闭
#1,154 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
C++
星标
18.1k
派生
3.2k
平均合并
20 小时 36 分钟
30 天内合并 PR
1

描述

**Describe the bug**

When importing gRPC via CocoaPods, it pulls in `abseil`, which is only available as a source pod. This means when we import gRPC into our app, we have to rebuild `abseil` every time we do a clean build. This adds a significant amount of time to our build times.

Apple has a native binary format called an XCFramework that would allow for `abseil` to be distributed as a binary pod, and CocoaPods plugins like [cocoapods-pack](https://github.com/square/cocoapods-pack) exist to produce XCFrameworks from podspecs. If `abseil` was distributed as an XCFramework, we would be able to import it as a binary pod, which would speed up the builds for our app. This would be a boon for every iOS app that imports `abseil`.

**What build system are you using?**

CocoaPods and `xcodebuild`

**Additional context**

I have a sister issue open for `gRPC` at https://github.com/grpc/grpc/issues/28749

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。