From ab0f09896fb00c987b550796c9eebad92ef09b81 Mon Sep 17 00:00:00 2001 From: Pedro Date: Wed, 9 Apr 2014 14:56:27 +0200 Subject: [PATCH 1/3] Change dependency of adSupport to weak --- Adjust.podspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Adjust.podspec b/Adjust.podspec index 42e71522d..efb703a55 100644 --- a/Adjust.podspec +++ b/Adjust.podspec @@ -7,7 +7,8 @@ Pod::Spec.new do |s| s.author = { "Christian Wellenbrock" => "welle@adjust.com" } s.source = { :git => "https://github.com/adeven/adjust_ios_sdk.git", :tag => "v3.2.0" } s.platform = :ios, '4.3' - s.framework = 'AdSupport', 'SystemConfiguration' + s.framework = 'SystemConfiguration' + s.weak_framework = 'AdSupport' s.source_files = 'Adjust/*.{h,m}', 'Adjust/AIAdditions/*.{h,m}' s.requires_arc = true end From 1dc133170c356987738d730dd6e8400ee465ba3e Mon Sep 17 00:00:00 2001 From: Pedro Date: Wed, 9 Apr 2014 14:57:18 +0200 Subject: [PATCH 2/3] Change aligment of podspec --- Adjust.podspec | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Adjust.podspec b/Adjust.podspec index efb703a55..6c62ab8ec 100644 --- a/Adjust.podspec +++ b/Adjust.podspec @@ -1,14 +1,14 @@ Pod::Spec.new do |s| - s.name = "Adjust" - s.version = "3.2.0" - s.summary = "This is the iOS SDK of Adjust. You can read more about it at http://adjust.io." - s.homepage = "http://adjust.io" - s.license = { :type => 'MIT', :file => 'MIT-LICENSE' } - s.author = { "Christian Wellenbrock" => "welle@adjust.com" } - s.source = { :git => "https://github.com/adeven/adjust_ios_sdk.git", :tag => "v3.2.0" } - s.platform = :ios, '4.3' - s.framework = 'SystemConfiguration' + s.name = "Adjust" + s.version = "3.2.0" + s.summary = "This is the iOS SDK of Adjust. You can read more about it at http://adjust.io." + s.homepage = "http://adjust.io" + s.license = { :type => 'MIT', :file => 'MIT-LICENSE' } + s.author = { "Christian Wellenbrock" => "welle@adjust.com" } + s.source = { :git => "https://github.com/adeven/adjust_ios_sdk.git", :tag => "v3.2.0" } + s.platform = :ios, '4.3' + s.framework = 'SystemConfiguration' s.weak_framework = 'AdSupport' - s.source_files = 'Adjust/*.{h,m}', 'Adjust/AIAdditions/*.{h,m}' - s.requires_arc = true + s.source_files = 'Adjust/*.{h,m}', 'Adjust/AIAdditions/*.{h,m}' + s.requires_arc = true end From 5b79cb16e025825c62d1cfc4d559d281127d76c1 Mon Sep 17 00:00:00 2001 From: Pedro Date: Wed, 9 Apr 2014 14:59:54 +0200 Subject: [PATCH 3/3] Change version to v3.2.1 --- Adjust.podspec | 4 ++-- Adjust/AIUtil.m | 2 +- AdjustTests/AIActivityHandlerTests.m | 2 +- README.md | 2 +- VERSION | 2 +- doc/migrate.md | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Adjust.podspec b/Adjust.podspec index 6c62ab8ec..a09a96184 100644 --- a/Adjust.podspec +++ b/Adjust.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = "Adjust" - s.version = "3.2.0" + s.version = "3.2.1" s.summary = "This is the iOS SDK of Adjust. You can read more about it at http://adjust.io." s.homepage = "http://adjust.io" s.license = { :type => 'MIT', :file => 'MIT-LICENSE' } s.author = { "Christian Wellenbrock" => "welle@adjust.com" } - s.source = { :git => "https://github.com/adeven/adjust_ios_sdk.git", :tag => "v3.2.0" } + s.source = { :git => "https://github.com/adeven/adjust_ios_sdk.git", :tag => "v3.2.1" } s.platform = :ios, '4.3' s.framework = 'SystemConfiguration' s.weak_framework = 'AdSupport' diff --git a/Adjust/AIUtil.m b/Adjust/AIUtil.m index 8a159dbec..3714b2ba6 100644 --- a/Adjust/AIUtil.m +++ b/Adjust/AIUtil.m @@ -14,7 +14,7 @@ #include static NSString * const kBaseUrl = @"https://app.adjust.io"; -static NSString * const kClientSdk = @"ios3.2.0"; +static NSString * const kClientSdk = @"ios3.2.1"; static NSString * const kDateFormat = @"yyyy-MM-dd'T'HH:mm:ss'Z'Z"; static NSDateFormatter * dateFormat; diff --git a/AdjustTests/AIActivityHandlerTests.m b/AdjustTests/AIActivityHandlerTests.m index 27f215db9..78bf373ae 100644 --- a/AdjustTests/AIActivityHandlerTests.m +++ b/AdjustTests/AIActivityHandlerTests.m @@ -86,7 +86,7 @@ - (void)testFirstRun AIActivityPackage *activityPackage = (AIActivityPackage *) self.packageHandlerMock.packageQueue[0]; // check the Sdk version is being tested - XCTAssertEqual(@"ios3.2.0", activityPackage.clientSdk, @"%@", activityPackage.extendedString); + XCTAssertEqual(@"ios3.2.1", activityPackage.clientSdk, @"%@", activityPackage.extendedString); // packageType should be SESSION_START XCTAssertEqual(@"/startup", activityPackage.path, @"%@", activityPackage.extendedString); diff --git a/README.md b/README.md index 5edcbbcfc..74008bbb9 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ If you're using [CocoaPods][cocoapods], you can add the following line to your `Podfile` and continue with [step 3](#step3): ```ruby -pod 'Adjust', :git => 'git://github.com/adjust/ios_sdk.git', :tag => 'v3.2.0' +pod 'Adjust', :git => 'git://github.com/adjust/ios_sdk.git', :tag => 'v3.2.1' ``` ### 1. Get the SDK diff --git a/VERSION b/VERSION index 944880fa1..e4604e3af 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.2.0 +3.2.1 diff --git a/doc/migrate.md b/doc/migrate.md index f2a316da1..c9ecbac24 100644 --- a/doc/migrate.md +++ b/doc/migrate.md @@ -1,4 +1,4 @@ -## Migrate your adjust SDK for iOS to v3.2.0 from v3.0.0 +## Migrate your adjust SDK for iOS to v3.2.1 from v3.0.0 We added an optional parameter `transactionId` to our `trackRevenue` methods. If you are tracking In-App Purchases you might want to pass in the transaction identifier provided by Apple to avoid duplicate revenue tracking. It should look roughly like this: @@ -36,14 +36,14 @@ all adjust SDK calls. ![][rename] -3. Download version v3.2.0 and drag the new folder `Adjust` into your Xcode +3. Download version v3.2.1 and drag the new folder `Adjust` into your Xcode Project Navigator. ![][drag] 4. Build your project to confirm that everything is properly connected again. -The adjust SDK v3.2.0 added delegate callbacks. Check out the [README] for +The adjust SDK v3.2.1 added delegate callbacks. Check out the [README] for details. @@ -99,7 +99,7 @@ meaningful at all times! Especially if you are tracking revenue. 1. The `appDidLaunch` method now expects your App Token instead of your App ID. You can find your App Token in your [dashboard]. -2. The adjust SDK for iOS 3.2.0 uses [ARC][arc]. If you haven't done already, +2. The adjust SDK for iOS 3.2.1 uses [ARC][arc]. If you haven't done already, we recommend [transitioning your project to use ARC][transition] as well. If you don't want to use ARC, you have to enable ARC for all files of the adjust SDK. Please consult the [README] for details.