Closed rcasula closed 6 years ago
What version of CocoaPods/Xcode are you using?
@morganchen12 I'm using version 1.4.0.beta.2
Try running pod cache clean BoringSSL --all
and then pod deintegrate
and pod install --repo-update
again.
Thanks for the help, but unfortunately didn't work; The error is still the same, when pod install --repo-update
hangs in Installing BoringSSL and eventually stops
I'm unable to reproduce this issue. If you pin an older version of BoringSSL (9.0) in your Podfile, do you still get the same error?
I tried but it's the same thing. I honestly don't know what I'm doing wrong
@morganchen12 Update: I tried everything I could think: I cleaned cocoapods, I uninstalled it and then I reinstalled it but nothing changed.
So I tried one more thing.
I cloned BoringSSL repo inside firestore example's root and I downloaded its .podspec; then in the firestore example's Podfile I insert pod 'BoringSSL', :path => 'boringssl'
but nothing, same error.
I realize that the error came out in the cocoapod's s.prepare_command
phase of the podspec.
It came out that was a problem with sed
The sed -E -i '.back' '_some command_
launched in terminal throw the same error: sed: -e expression #1, char 1: unknown command:
.'`
So I think: what if I remove the space between -i
and '.back'
the command all over the .podpec become sed -E -i'.back' 'some command'
and it worked!
I was able to install the pods.
But why happens?
I'm not sure. Glad to hear you've resolved the issue though. You may want to ask the folks over at CocoaPods, but keep in mind their issue volume is really high.
@robcas3 Do you have the brew version of sed
installed by any chance? I ran into the same issue and was able to fix it with:
brew unlink gnu-sed
I'm trying to test the firestore example, but unfortunately I can't because I can't install Pods with Cocoapods.
The error I'm getting presumably refers to BoringSSL, because even when I
pod try BoringSSL
I'm getting the error.The error is this: