NativeScript / NativeScript/firebase
GRPC Error during builds
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 62
- Forks
- 53
- Avg merge
- 8d 4h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by checking how this repository selects the Firebase Apple SDK and how the BoringSSL-GRPC target is built for iOS. Compare the bundled gRPC version with gRPC 1.65.2, then verify an Xcode 16 build no longer reports the unsupported '-G' option without requiring the documented Podfile workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- firebase, grpc, ios
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100