Skip to content

Commit

Permalink
Merge pull request #43 from adjust/weak_adsupport
Browse files Browse the repository at this point in the history
Change dependency of adSupport framework to weak
  • Loading branch information
nonelse committed Apr 9, 2014
2 parents 5eadc9a + 5b79cb1 commit bdda238
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 19 deletions.
23 changes: 12 additions & 11 deletions Adjust.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +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 = 'AdSupport', 'SystemConfiguration'
s.source_files = 'Adjust/*.{h,m}', 'Adjust/AIAdditions/*.{h,m}'
s.requires_arc = true
s.name = "Adjust"
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.1" }
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
end
2 changes: 1 addition & 1 deletion Adjust/AIUtil.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <sys/xattr.h>

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;
Expand Down
2 changes: 1 addition & 1 deletion AdjustTests/AIActivityHandlerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0
3.2.1
8 changes: 4 additions & 4 deletions doc/migrate.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down Expand Up @@ -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.


Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit bdda238

Please sign in to comment.