Thanks, Jens! I'm up and running now.
All you should need to do is run
git pull
git submodule sync
git submodule update --recursive
This was failing for me, because we require the HTTPS cloning protocol, due to some firewall issue (which I don't fully understand). Your .gitmodules file (at the root of the couchbase-lite-ios repo) uses the "git://github.com..." protocol. We've gotten around this in the past by putting a copy of those submodule definitions into our own .gitmodules file at our own repo root, and using HTTPS instead of GIT. But for some reason, even this didn't work - probably because WebSockets-Cocoa contains its own submodules. I don't really understand the whole submodule thing, but switching your .gitmodules file to use HTTPS protocol worked. Any reason why your .gitmodules file uses GIT protocol, while the WebSockets-Cocoa folder's .gitmodules file uses HTTPS protocol? It sure would make our lives easier if you used HTTPS protocol everywhere.
I’ve seen problems with registering a new submodule that has its own submodules … so you may also need to do
cd vendor/WebSockets-Cocoa
git submodule init --recursive
git submodule update
I definitely needed to cd to the WebSockets-Cocoa folder, and init from there (although --recursive isn't a valid argument for "init").
Searching for this couchbaselabs repo also fails to find anything.
Yep, my mistake there.
Thanks,
-Todd