Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
746 views
in Technique[技术] by (71.8m points)

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 这步。有大神可以指条明路吗??


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...