1,翻墙解决 原因还是网络原因,翻墙后网络不好也是一样,网好的时候有时候可以
2,大部分的包gitee上都有,可以使用gitee上的
pod 'boost-for-react-native', :git => 'https://gitee.com/mirrors/boost-for-react-native.git'
pod 'ZXingObjC', :git => 'https://gitee.com/mirrors/ZXingObjC.git'
pod 'NodeMediaClient', :git => 'https://gitee.com/JiangZW/NodeMediaClient-iOS.git'
target 'xstore' do
use_unimodules!
config = use_native_modules!
pod 'boost-for-react-native', :git => 'https://gitee.com/mirrors/boost-for-react-native.git'
pod 'ZXingObjC', :git => 'https://gitee.com/mirrors/ZXingObjC.git'
pod 'NodeMediaClient', :git => 'https://gitee.com/JiangZW/NodeMediaClient-iOS.git'
use_react_native!(:path => config["reactNativePath"])
Downloading dependencies
Installing Crashlytics (3.14.0)
[!] Error installing Crashlytics
[!] /usr/bin/curl -f -L -o /var/folders/gk/6hj207p53_b29_rpz_b_gg380000gp/T/d20210120-16365-qxl41y/file.zip https://kit-downloads.fabric.io/cocoapods/crashlytics/3.14.0/crashlytics.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.10.0 cocoapods-downloader/1.4.0'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:01:19 --:--:-- 0
curl: (7) Failed to connect to kit-downloads.fabric.io port 443: Operation timed out
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
MacdeMacBook-Pro:xstore hongbin$
echo insecure >> ~/.curlrc
不好用