[objc] Fix firestone linux cocoapod grpc install issue#27300
[objc] Fix firestone linux cocoapod grpc install issue#27300dennycd merged 1 commit intogrpc:masterfrom
Conversation
f72cc44 to
9e1e779
Compare
sampajano
left a comment
There was a problem hiding this comment.
Thanks for the fix! 😃 (Btw I don't know much about those cmd flags so just trusting your testing 😄)
9e1e779 to
024d1dd
Compare
| base64 -D <<EOF | gunzip > src/include/openssl/boringssl_prefix_symbols.h | ||
| case "$(uname)" in | ||
| Darwin) opts="" ;; | ||
| *) opts="--ignore-garbage" ;; |
There was a problem hiding this comment.
I think overall this PR looks good, but what was the "garbage" that needed to be ignored when on linux? Was it the newlines/spaces?
There was a problem hiding this comment.
Thanks Jan. Yes exactly, for linux variation (https://linux.die.net/man/1/base64) by default it does not handle non-alphabet bytes in the encode string, in this case the newline inside the podspec. On Darwin base64 this is automatically handled by default (https://www.unix.com/man-page/osx/1/base64/)
all checks green, merge and close
Fixing gRPC cocoapod installation issue on GNU/Linux which are previously mentioned in the following
#26630
firebase/quickstart-ios#1099
firebase/firebase-ios-sdk#736 (comment)
Currently this is preventing firebase/firestone cocoapod to install on linux for internal users but may potentially affect anyone who want to use gRPC cocoapod on GNU/Linux. Manually tested the installation on linux box of the following spec
Linux # 1 SMP Debian 5.10.40-1rodete2 (2021-06-22) x86_64 GNU/Linux
Clients need to update to latest next gRPC release v1.41.x in order to pick up this patch. (Firebase/Firestore currently on v1.28.0)