前提:已经按照 [CocoaPods 镜像使用帮助
-清华源](https://mirror.tuna.tsinghua....,安装CocoaPods
操作:
- npx react-native-cli init RNDemo # 脚手架安装,卡在 安装 cocoapods 的步骤
- 按清华源安装 Cocoapods
- 在 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 这步。有大神可以指条明路吗🙏
百度下mac下如何设置终端的代理就行了