Realm-cocoa: Pod Install Fails installing realm and RealmSwift even now.

Created on 5 Jul 2018  路  2Comments  路  Source: realm/realm-cocoa

I use xcode 9.4.1
OS 10.13
Command line installed yet i keep getting this error.

Running prepare command
$ /bin/bash -c set -e sh build.sh cocoapods-setup
: command not found
: command not found
: invalid option namet: pipefail
: invalid option4: set: -
set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup

: command not found
: command not found
: invalid option namet: pipefail
: invalid option4: set: -
set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]

There is no document either. Could anyone help me on this?
@realm-admin

O-Community

Most helpful comment

See https://github.com/realm/realm-cocoa/issues/2662 for some steps that solved this problem for other users.

All 2 comments

See https://github.com/realm/realm-cocoa/issues/2662 for some steps that solved this problem for other users.

@tgoyne : Thanks man
These steps helped
git config --global core.autocrlf input
sudo rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carvalho-oak picture carvalho-oak  路  3Comments

ciminuv picture ciminuv  路  3Comments

jpsim picture jpsim  路  3Comments

ishidakei picture ishidakei  路  3Comments

duribreux picture duribreux  路  3Comments