react-native 在ios目录 pod install 卡住

前提:已经按照 [CocoaPods 镜像使用帮助
-清华源](https://mirror.tuna.tsinghua....,安装CocoaPods
操作:

  1. npx react-native-cli init RNDemo # 脚手架安装,卡在 安装 cocoapods 的步骤
  2. 按清华源安装 Cocoapods
  3. 在 ios 目录下执行 pod install,一直卡在👇
~/code/mobile/RNDemo/ios  pod install
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Downloading dependencies
Installing CocoaAsyncSocket (7.6.4)
Installing CocoaLibEvent (1.0.0)
Installing DoubleConversion (1.1.6)

我开小飞机,google使用正常,但还是卡在 pod install 这步。有大神可以指条明路吗🙏

阅读 5.2k
2 个回答

百度下mac下如何设置终端的代理就行了

新手上路,请多包涵

如果我说开手机网络下载多试几次就行了,你信吗。。网络不稳定没有办法,很多VPN工具确实有时候并不给力,安卓条件有时候也会出问题。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题