Realm pod install 失败的解决办法

Realm pod install 失败的解决办法_第1张图片

Realm

pod install
报以下错误失败

Installing Realm (1.0.2)
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup
core is not a symlink. Deleting...
Downloading dependency: core 1.3.1
Downloading core failed:
curl: (56) SSLRead() return error -36

解决方法:

  1. rm -rf Pods--->删除工程目录下的Pods文件夹,
  2. 然后重新 pod install

安装Realm的时候会慢一些,等了很长时间...解决方法:

curl https://static.realm.io/downloads/core/realm-core-1.0.1.tar.bz2 -O
mkdir $TMPDIR/core_bin
mv realm-core-1.0.1.tar.bz2 $TMPDIR/core_bin

你可能感兴趣的:(Realm pod install 失败的解决办法)