-
Notifications
You must be signed in to change notification settings - Fork 92
/
AppsFlyerFramework.podspec
69 lines (52 loc) · 3.09 KB
/
AppsFlyerFramework.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Pod::Spec.new do |s|
s.name = 'AppsFlyerFramework'
s.version = '6.15.3'
s.summary = 'AppsFlyer iOS SDK'
s.description = <<-DESC
AppsFlyer native track allows you to find what attracts new users to your app,
measure all your app marketing activities on one dashboard, and add new traffic sources in minutes,
all without having to update SDK.
DESC
s.homepage = 'https://www.appsflyer.com'
s.license = { :type => 'Proprietary', :text => 'Copyright 2018 AppsFlyer Ltd. All rights reserved.' }
s.author = { 'Maxim' => 'maxim\@appsflyer.com', 'Andrii' => 'andrii.h\@appsflyer.com' }
s.requires_arc = true
s.platform = :ios, :tvos, :osx
s.swift_version = '5.0'
s.source = {
http: "https://github.com/AppsFlyerSDK/AppsFlyerFramework/releases/download/6.15.3/AppsFlyerLib-Binaries.zip",
sha256: "3047368eb9f003f67b1b09c56f05cf6dbb5fc3e11446289ca49b6a8e425df1cc"
}
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
s.osx.deployment_target = '10.11'
s.ios.frameworks = 'Security', 'SystemConfiguration', 'CoreTelephony'
s.osx.frameworks = 'Security'
s.default_subspecs = 'Main'
s.subspec 'Main' do |ss|
ss.resource_bundles = {'AppsFlyerLib_Privacy' => ['binaries/Resources/nonStrict/PrivacyInfo.xcprivacy']}
ss.ios.vendored_frameworks = 'binaries/xcframework/full/AppsFlyerLib.xcframework'
ss.tvos.vendored_frameworks = 'binaries/xcframework/full/AppsFlyerLib.xcframework'
ss.osx.vendored_frameworks = 'binaries/xcframework/full/AppsFlyerLib.xcframework'
end
s.subspec 'Legacy' do |ss|
ss.resource_bundles = {'AppsFlyerLib_Privacy' => ['binaries/Resources/nonStrict/PrivacyInfo.xcprivacy']}
ss.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 arm64e', 'EXCLUDED_ARCHS[sdk=appletvsimulator*]' => 'arm64 arm64e'}
ss.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 arm64e', 'EXCLUDED_ARCHS[sdk=appletvsimulator*]' => 'arm64 arm64e'}
ss.ios.vendored_frameworks = 'binaries/ios/AppsFlyerLib.framework'
ss.tvos.vendored_frameworks = 'binaries/tv/AppsFlyerLib.framework'
ss.osx.vendored_frameworks = 'binaries/xcframework/full/AppsFlyerLib.xcframework'
end
s.subspec 'Strict' do |ss|
ss.resource_bundles = {'AppsFlyerLib_Privacy' => ['binaries/Resources/Strict/PrivacyInfo.xcprivacy']}
ss.ios.vendored_frameworks = 'binaries/xcframework/strict/AppsFlyerLib.xcframework'
ss.tvos.vendored_frameworks = 'binaries/xcframework/strict/AppsFlyerLib.xcframework'
ss.osx.vendored_frameworks = 'binaries/xcframework/strict/AppsFlyerLib.xcframework'
end
s.subspec 'Dynamic' do |ss|
ss.ios.vendored_frameworks = 'binaries/xcframework/dynamic/AppsFlyerLib.xcframework'
ss.tvos.vendored_frameworks = 'binaries/xcframework/dynamic/AppsFlyerLib.xcframework'
# Dynamic framework does not support pure OSX yet
ss.osx.vendored_frameworks = 'binaries/xcframework/full/AppsFlyerLib.xcframework'
end
end