[英]Error installing Realm in Terminal through cocoapods
Seems like your connection is unstable, I would try to change my network to wired and try again好像您的连接不稳定,我会尝试将我的网络更改为有线并重试
The git clone
command failed git clone
命令失败
Make sure you have an updated cocoapods:确保你有一个更新的 cocoapods:
$ [sudo] gem install cocoapods
Run pod repo update
to make CocoaPods aware of the latest available Realm versions.运行
pod repo update
使 CocoaPods 知道最新的可用 Realm 版本。
In your Podfile, add use_frameworks!
在您的 Podfile 中,
add use_frameworks!
and pod 'RealmSwift'
to your main and test targets.和
pod 'RealmSwift'
到你的主要和测试目标。
From the command line, run pod install
.从命令行运行
pod install
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.