NativeScript / NativeScript/firebase
GRPC Error during builds
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 62
- 派生
- 53
- 平均合并
- 8 天 4 小时
- 30 天内合并 PR
- 2
描述
Building with Xcode 16 induces errors
unsupported option '-G' for target 'arm64-apple-ios14.0'
This issue was addressed in gRPC 1.65.2 (https://github.com/firebase/firebase-ios-sdk/issues/13115).
But I wasn't able to find if/where it was rolled into Firebase Apple SDK.
I did get a workaround. Adding
if target.name == 'BoringSSL-GRPC'
target.source_build_phase.files.each do |file|
if file.settings && file.settings['COMPILER_FLAGS']
flags = file.settings['COMPILER_FLAGS'].split
flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }
file.settings['COMPILER_FLAGS'] = flags.join(' ')
end
end
to my pod file let the build proceed.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查此仓库如何选择 Firebase Apple SDK,以及 BoringSSL-GRPC target 如何为 iOS 构建。将捆绑的 gRPC 版本与 gRPC 1.65.2 进行比较,然后验证 Xcode 16 构建不再报告不受支持的选项 '-G',且无需使用文档中说明的 Podfile workaround。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- firebase, grpc, ios
- 领域
- build-system, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100