diff --git a/ConfigCat.podspec b/ConfigCat.podspec index 78d2d90..0605bb7 100755 --- a/ConfigCat.podspec +++ b/ConfigCat.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |spec| spec.name = "ConfigCat" - spec.version = "6.0.0" + spec.version = "6.0.1" spec.summary = "ConfigCat Swift SDK" spec.swift_version = "4.2" diff --git a/samples/osx/configcatsample-objc/main.m b/samples/osx/configcatsample-objc/main.m index 516e084..5dcefe3 100644 --- a/samples/osx/configcatsample-objc/main.m +++ b/samples/osx/configcatsample-objc/main.m @@ -5,6 +5,7 @@ int main(int argc, const char * argv[]) { @autoreleasepool { // Initialize the ConfigCatClient with an SDK Key. ConfigCatClient* client = [[ConfigCatClient alloc]initWithSdkKey:@"PKDVCLf-Hq-h-kCzMp-L7Q/HhOWfwVtZ0mb30i9wi17GQ" + dataGovernance:DataGovernanceGlobal configCache:nil refreshMode:nil maxWaitTimeForSyncCallsInSeconds:0 @@ -12,7 +13,7 @@ int main(int argc, const char * argv[]) { baseUrl:@""]; // Creating a user object to identify your user (optional). - User* userObject = [[User alloc]initWithIdentifier:@"Some UserID" + CCUser* userObject = [[CCUser alloc]initWithIdentifier:@"Some UserID" email:@"configcat@example.com" country:@"CountryID" custom:@{@"version": @"1.0.0"}];