Quantcast
Channel: Active questions tagged cocoapods - Stack Overflow
Viewing all articles
Browse latest Browse all 1022

install BoringSSL-GRPC (0.0.32) gunzip unknown compression format error

$
0
0

I am trying to run pod install on my Flutter application to build ios but currently getting the follow error:

# We are renaming openssl to openssl_grpc so that there is no conflict with openssl if it existsfind . -type f \( -path '*.h' -or -path '*.cc' -or -path '*.c' \) -print0 | xargs -0 -L1 sed -E -i'.grpc_back''s;#include <openssl/;#include <openssl_grpc/;g'# Include of boringssl_prefix_symbols.h does not follow Xcode import style. We add the package# name here so that Xcode knows where to find it.find . -type f \( -path '*.h' -or -path '*.cc' -or -path '*.c' \) -print0 | xargs -0 -L1 sed -E -i'.grpc_back''s;#include <boringssl_prefix_symbols.h>;#include <openssl_grpc/boringssl_prefix_symbols.h>;g'gunzip: unknown compression format

So far these are the steps I have tried:

  1. Reinstall cocoapods: sudo gem uninstall cocoapods and then sudo gem install cocoapods (I have also tried to use homebrew but still got the error)
  2. cd iosMy podfile is
platform :ios, '13.0'target 'Runner' do  use_frameworks!  use_modular_headers!  pod 'Firebase/Firestore'  pod 'Firebase/Auth'  pod 'Firebase/Core'end
  1. Remove Pods/ folder and podfile.lock: rm -rf Pods Podfile.lock
  2. flutter clean and then flutter pub get
  3. when running pod repo update and then pod install, I get:

The error seems to be related to installing BoringSSL-GRPC (0.0.32) but it doesn't seem to be a network error.

I also tried to increase the max size of the http post buffer with git config --global http.postbuffer 10000m but to no avail. I have also tried to use different networks and VPNs with no change.

It also seems that cloud_firestore relies on BoringSSL-GRPC being installed, because when I have a podfile without dependencies on it, there is an error that cloud_firestore module is not found and the build fails.

platform :ios, '13.0'target 'Runner' do  use_frameworks!  use_modular_headers!  pod 'Firebase/Analytics'end

Any help would be appreciated, thanks!


Viewing all articles
Browse latest Browse all 1022

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>