pod install 失败
ios pod install
podfile 添加 pod 'react-native-baidu-map', :podspec => '../node_modules/react-native-baidu-map/ios/react-native-baidu-map.podspec'
然后在react-native/ios目录下执行:pod install失败
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18/rbconfig.rb:215: warning: Insecure world writable dir /Users/steve/Documents/mongodb/bin in PATH, mode 040777
Analyzing dependencies
Fetching podspec for react-native-baidu-map from ../node_modules/react-native-baidu-map/ios/react-native-baidu-map.podspec
Downloading dependencies
Installing BMKLocationKit (1.3.0.2)
Installing BaiduMapKit (4.2.0)
[!] Error installing BaiduMapKit [!] /usr/bin/git clone https://github.com/BaiduLBS/BaiduMapKit.git /var/folders/k0/nqp3lmtx4657hpg17wc6m2t80000gp/T/d20191014-15332-pcojde --template= --single-branch --depth 1 --branch 4.2.0
Cloning into '/var/folders/k0/nqp3lmtx4657hpg17wc6m2t80000gp/T/d20191014-15332-pcojde'... error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
看提示是网络问题,无法 git clone http://git.xiaoman.co/projects/SPIDER/repos/official-site-spider/browse
后来怎么解决的