, free & fully virtual. Register Now, free & fully virtual. Register Now

Unknown type name 'RLMSyncCredentials'; did you mean 'RLMCredentials'?

#import <Realm/Realm.h>
#import "Log.h"      
RLMSyncCredentials *credential = [RLMSyncCredentials credentialsWithUsername:@"sdf"
[RLMSyncUser logInWithCredentials:credential
                             onCompletion:^(RLMSyncUser *user, NSError *error)

I keep getting /sfsf/fsdfsdfds/rel.m:33:5: Unknown type name ‘RLMSyncCredentials’; did you mean ‘RLMCredentials’?

I have in my pods

pod ‘Realm/Headers’ pod ‘Realm’

I also changed credentialswithusername to credentialswithemail same stuff.

What version of Realm are you using? Can I see a more complete compiler output please?