$ git clone https://github.com/realm/realm-cocoa.git
$ cd realm-cocoa
$ git checkout v2.0.4
$ git submodule update --init --recursive
$ ./build.sh verify-osx-object-server
Test Case '-[RLMObjectServerTests testDeleteObjects]' started.
libc++abi.dylib: terminating with uncaught exception of type realm::SharedGroup::BadVersion: std::exception
./sync/start-object-server.command: line 95: 38618 Abort trap: 6 node "$package/node_modules/.bin/realm-object-server" -c configuration.yml (wd: ~/Projects/realm-cocoa/sync/object-server)
/Users/jp/Projects/realm-cocoa/Realm/ObjectServerTests/RLMSyncTestCase.m:153: error: -[RLMObjectServerTests testDeleteObjects] : ((error) == nil) failed: "Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x608000247950 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://127.0.0.1:9080/auth, NSErrorFailingURLKey=http://127.0.0.1:9080/auth, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.}" - Error when trying to log in a user: Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x608000247950 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://127.0.0.1:9080/auth, NSErrorFailingURLKey=http://127.0.0.1:9080/auth, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.} (process: child)
/Users/jp/Projects/realm-cocoa/Realm/ObjectServerTests/RLMSyncTestCase.m:110: error: -[RLMObjectServerTests testDeleteObjects] : failed - Received an asynchronous error: Error Domain=io.realm.sync Code=1 "(null)" UserInfo={underlying_error=Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={NSUnderlyingError=0x60000024c180 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={_kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=http://127.0.0.1:9080/auth, NSErrorFailingURLKey=http://127.0.0.1:9080/auth, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-4, NSLocalizedDescription=The network connection was lost.}} (process: parent)
Test Case '-[RLMObjectServerTests testDeleteObjects]' failed (1.618 seconds).
Test Case '-[RLMObjectServerTests testLogBackInDeferredRealmDownload]' started.
/Users/jp/Projects/realm-cocoa/Realm/ObjectServerTests/RLMSyncTestCase.m:153: error: -[RLMObjectServerTests testLogBackInDeferredRealmDownload] : ((error) == nil) failed: "Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x60800024d620 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://127.0.0.1:9080/auth, NSErrorFailingURLKey=http://127.0.0.1:9080/auth, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.}" - Error when trying to log in a user: Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x60800024d620 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://127.0.0.1:9080/auth, NSErrorFailingURLKey=http://127.0.0.1:9080/auth, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.} (process: parent)
/Users/jp/Projects/realm-cocoa/Realm/ObjectServerTests/RLMSyncTestCase.m:153: error: -[RLMObjectServerTests testLogBackInDeferredRealmDownload] : ((error) == nil) failed: "Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x60800005aa30 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://127.0.0.1:9080/auth, NSErrorFailingURLKey=http://127.0.0.1:9080/auth, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.}" - Error when trying to log in a user: Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x60800005aa30 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://127.0.0.1:9080/auth, NSErrorFailingURLKey=http://127.0.0.1:9080/auth, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.} (process: child)