When I try to synchronize data between iOS and watchOS, iCloud is not working.
When I use
NSFileManager *fm = [NSFileManager defaultManager]; id token = [fm ubiquityIdentityToken];
to get iCloud token, it will get a error code 4009 and get nil from ubiquitIdentityToken.
I've turn on iCloud settings on Capabilities page on watchOS extention target.
Does watchkit not support iCloud service but be with the setting page?