2 #include <CoreFoundation/CoreFoundation.h>
4 #import "KeychainSyncAccountUpdater.h"
6 @implementation KeychainSyncAccountUpdater
8 - (BOOL)includePluginInUpdateSession:(nonnull UpdaterSessionParameters *)parameters
13 - (void)updateAccountWithPrivilege
15 CFPreferencesSetValue(CFSTR("SecItemSynchronizable"), kCFBooleanTrue, CFSTR("com.apple.security"), kCFPreferencesAnyUser, kCFPreferencesCurrentHost);
16 Boolean okay = CFPreferencesAppSynchronize(CFSTR("com.apple.security"));
17 os_log(OS_LOG_DEFAULT, "EnableKeychainSync %d", okay);