diff --git a/Adjust.podspec b/Adjust.podspec index bfd70afc4..75a9b30f5 100644 --- a/Adjust.podspec +++ b/Adjust.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = "Adjust" - s.version = "4.33.5" + s.version = "4.33.6" s.summary = "This is the iOS SDK of adjust. You can read more about it at http://adjust.com." s.homepage = "https://github.com/adjust/ios_sdk" s.license = { :type => 'MIT', :file => 'MIT-LICENSE' } s.author = { "Adjust" => "sdk@adjust.com" } - s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.33.5" } + s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.33.6" } s.ios.deployment_target = '9.0' s.tvos.deployment_target = '9.0' s.framework = 'SystemConfiguration' diff --git a/Adjust/ADJUtil.m b/Adjust/ADJUtil.m index 132a46987..840169665 100644 --- a/Adjust/ADJUtil.m +++ b/Adjust/ADJUtil.m @@ -35,7 +35,7 @@ static NSRegularExpression *shortUniversalLinkRegex = nil; static NSRegularExpression *excludedDeeplinkRegex = nil; -static NSString * const kClientSdk = @"ios4.33.5"; +static NSString * const kClientSdk = @"ios4.33.6"; static NSString * const kDeeplinkParam = @"deep_link="; static NSString * const kSchemeDelimiter = @"://"; static NSString * const kDefaultScheme = @"AdjustUniversalScheme"; @@ -1191,7 +1191,7 @@ + (int)attStatus { NSMethodSignature *msAuthorization = [appTrackingClass methodSignatureForSelector:selAuthorization]; NSInvocation *invAuthorization = [NSInvocation invocationWithMethodSignature:msAuthorization]; [invAuthorization setSelector:selAuthorization]; - [invAuthorization invokeWithTarget:appTrackingClass]; + [invAuthorization setTarget:appTrackingClass]; [invAuthorization invoke]; NSUInteger status; [invAuthorization getReturnValue:&status]; @@ -1431,9 +1431,10 @@ + (NSMutableDictionary *)deepCopyOfDictionary:(NSMutableDictionary *)dictionary return nil; } - NSMutableDictionary *deepCopy = (__bridge NSMutableDictionary *)CFPropertyListCreateDeepCopy(NULL, - (__bridge CFDictionaryRef)dictionary, - kCFPropertyListMutableContainersAndLeaves); + NSMutableDictionary *deepCopy = + (NSMutableDictionary *)CFBridgingRelease(CFPropertyListCreateDeepCopy(kCFAllocatorDefault, + (CFDictionaryRef)dictionary, + kCFPropertyListMutableContainersAndLeaves)); return deepCopy; } diff --git a/Adjust/Adjust.h b/Adjust/Adjust.h index 419999a12..4bde4847a 100644 --- a/Adjust/Adjust.h +++ b/Adjust/Adjust.h @@ -2,7 +2,7 @@ // Adjust.h // Adjust SDK // -// V4.33.5 +// V4.33.6 // Created by Christian Wellenbrock (@wellle) on 23rd July 2013. // Copyright (c) 2012-2021 Adjust GmbH. All rights reserved. // diff --git a/AdjustBridge/AdjustBridgeRegister.m b/AdjustBridge/AdjustBridgeRegister.m index ca1600ad8..c9f6911f3 100644 --- a/AdjustBridge/AdjustBridgeRegister.m +++ b/AdjustBridge/AdjustBridgeRegister.m @@ -275,7 +275,7 @@ + (NSString *)adjust_js { if (this.sdkPrefix) { return this.sdkPrefix; } else { - return 'web-bridge4.33.5'; + return 'web-bridge4.33.6'; } }, setTestOptions: function(testOptions) { diff --git a/CHANGELOG.md b/CHANGELOG.md index 53ae2d1d4..8ccdcba10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +### Version 4.33.6 (25th July 2023) +#### Fixed +- Fixed memory leak occurrences when tracking events (https://github.com/adjust/ios_sdk/issues/668). + +--- + ### Version 4.33.5 (13th July 2023) #### Changed - Replaced the usage of `drand48()` with `arc4random_uniform` method. diff --git a/VERSION b/VERSION index bbbc18ea5..aba0abb01 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.33.5 +4.33.6 diff --git a/examples/AdjustExample-ObjC/AdjustExample-ObjC.xcodeproj/xcshareddata/xcschemes/AdjustExample-ObjC.xcscheme b/examples/AdjustExample-ObjC/AdjustExample-ObjC.xcodeproj/xcshareddata/xcschemes/AdjustExample-ObjC.xcscheme index 3252f8899..ce288a595 100644 --- a/examples/AdjustExample-ObjC/AdjustExample-ObjC.xcodeproj/xcshareddata/xcschemes/AdjustExample-ObjC.xcscheme +++ b/examples/AdjustExample-ObjC/AdjustExample-ObjC.xcodeproj/xcshareddata/xcschemes/AdjustExample-ObjC.xcscheme @@ -50,6 +50,13 @@ ReferencedContainer = "container:AdjustExample-ObjC.xcodeproj"> + + + +