Error - Adding Partial Sync Tutorial


#1

Hi,

First, congrats. I love Realm and if the pricing is affordable, Realm cloud will be awesome.

I’m following the tutorial for add partial sync. I added the pod lines

pod 'RealmSwift', :git => 'https://github.com/realm/realm-cocoa', :branch => 'mar/partial-sync', :submodules => true
pod 'Realm', :git => 'https://github.com/realm/realm-cocoa', :branch => 'mar/partial-sync', :submodules => true

but I can’t finish the tutorial because I got “Realm/RLMSyncSubscription.h’ file not found”. The pod doesn’t add that file.

Thanks


#2

Hi Fernando,

Thanks for letting me know - those pods take their feed from our development branch, so it’s quite possible there’s a build error in the context of a Pod build. I’ll give a try and file an issue for our bindings team.

regards,
David
Product Manager
Realm


#3

Hi Fernando,

Our bindings team has updated the source and fixed the visibility of the RLMSyncSubscription.h during the pod build. Please give it another try… (you should do a pod update to refresh the pod befoe building).

best,
David


#4

Thanks, David. It works now.

Regards

Fernando Torcelly