File tree Expand file tree Collapse file tree 7 files changed +34
-5
lines changed Expand file tree Collapse file tree 7 files changed +34
-5
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ Pod::Spec.new do |s|
9
9
s . license = { :file => '../LICENSE' }
10
10
s . author = { 'Adjust' => 'sdk@adjust.com' }
11
11
s . source = { :path => '.' }
12
- s . source_files = 'Classes/ **/*'
13
- s . public_header_files = 'Classes /**/*.h'
12
+ s . source_files = 'adjust_sdk/Sources/adjust_sdk/ **/*.{h,m} '
13
+ s . public_header_files = 'adjust_sdk/Sources/adjust_sdk/include /**/*.h'
14
14
s . ios . deployment_target = '12.0'
15
15
16
16
s . dependency 'Flutter'
Original file line number Diff line number Diff line change
1
+ // swift-tools-version: 5.9
2
+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3
+
4
+ import PackageDescription
5
+
6
+ let package = Package (
7
+ name: " adjust_sdk " ,
8
+ platforms: [
9
+ . iOS( " 12.0 " ) ,
10
+ ] ,
11
+ products: [
12
+ . library( name: " adjust-sdk " , targets: [ " adjust_sdk " ] )
13
+ ] ,
14
+ dependencies: [
15
+ . package ( url: " https://github.com/adjust/ios_sdk.git " , from: " 5.4.3 " )
16
+ ] ,
17
+ targets: [
18
+ . target(
19
+ name: " adjust_sdk " ,
20
+ dependencies: [
21
+ . product( name: " AdjustSdk " , package : " ios_sdk " )
22
+ ] ,
23
+ resources: [ ] ,
24
+ cSettings: [
25
+ . headerSearchPath( " include/adjust_sdk " )
26
+ ]
27
+ )
28
+ ]
29
+ )
Original file line number Diff line number Diff line change 6
6
// Copyright © 2018-Present Adjust GmbH. All rights reserved.
7
7
//
8
8
9
- #import " AdjustSdk.h"
10
- #import " AdjustSdkDelegate.h"
9
+ #import " ./include/adjust_sdk/ AdjustSdk.h"
10
+ #import " ./include/adjust_sdk/ AdjustSdkDelegate.h"
11
11
#import < AdjustSdk/AdjustSdk.h>
12
12
13
13
static NSString * const CHANNEL_API_NAME = @" com.adjust.sdk/api" ;
Original file line number Diff line number Diff line change 7
7
//
8
8
9
9
#import < objc/runtime.h>
10
- #import " AdjustSdkDelegate.h"
10
+ #import " ./include/adjust_sdk/ AdjustSdkDelegate.h"
11
11
12
12
static dispatch_once_t onceToken;
13
13
static AdjustSdkDelegate *defaultInstance = nil ;
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments