-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathStanwoodAnalytics.podspec
More file actions
108 lines (91 loc) · 3.37 KB
/
StanwoodAnalytics.podspec
File metadata and controls
108 lines (91 loc) · 3.37 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Pod::Spec.new do |s|
s.name = 'StanwoodAnalytics'
s.version = '1.2.0'
s.swift_version = '5.0'
s.summary = 'StanwoodAnalytics encapsulates the frameworks Stanwood uses from various vendors used in analytics and logging.'
s.description = <<-DESC
A framework to encapsulate analytics and logging frameworks from Crashlytics, Google, and Firebase.
DESC
s.homepage = 'https://github.com/stanwood/Stanwood_Analytics_iOS'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'stanwood' => 'ios.frameworks@stanwood.io' }
s.source = { :git => 'https://github.com/stanwood/Stanwood_Analytics_iOS.git', :tag => s.version.to_s}
s.ios.deployment_target = '13.3'
s.static_framework = true
s.default_subspec = 'Base'
s.pod_target_xcconfig = {
'OTHER_LDFLAGS' => '-ObjC',
'FRAMEWORK_SEARCH_PATHS' => '$(inherited)'
}
s.libraries = [
'c++',
'sqlite3',
'z',
]
s.resource = 'StanwoodAnalytics/Assets/StanwoodAnalytics.bundle'
s.frameworks = 'UserNotifications'
s.subspec 'Core' do |ss|
ss.source_files = 'StanwoodAnalytics/Classes/Core/'
end
s.subspec 'Base' do |ss|
ss.dependency 'StanwoodAnalytics/Core'
ss.dependency 'StanwoodAnalytics/Crashlytics'
ss.dependency 'StanwoodAnalytics/Firebase'
ss.dependency 'StanwoodAnalytics/TestFairy'
end
s.subspec 'Firebase' do |ss|
ss.dependency 'StanwoodAnalytics/Core'
ss.dependency 'Firebase/Analytics'
ss.source_files = 'StanwoodAnalytics/Classes/SubSpecs/Firebase/'
ss.frameworks = ['FirebaseCore',
'FirebaseAnalytics',
'FirebaseCoreDiagnostics']
end
s.subspec 'Crashlytics' do |ss|
ss.dependency 'Firebase/Crashlytics'
ss.dependency 'Firebase/Analytics'
ss.dependency 'StanwoodAnalytics/Core'
ss.source_files = 'StanwoodAnalytics/Classes/SubSpecs/Crashlytics/'
ss.frameworks = ['FirebaseCore',
'FirebaseAnalytics',
'FirebaseCrashlytics',
'FirebaseCoreDiagnostics']
end
# s.subspec 'BugFender' do |ss|
# ss.dependency 'BugfenderSDK', '1.8'
# ss.dependency 'StanwoodAnalytics/Core'
# ss.source_files = 'StanwoodAnalytics/Classes/SubSpecs/BugFender/'
# end
s.subspec 'TestFairy' do |ss|
ss.ios.vendored_library = 'Frameworks/libTestFairy.a'
ss.dependency 'StanwoodAnalytics/Core'
ss.source_files = 'StanwoodAnalytics/Classes/SubSpecs/TestFairy/*.{swift,h,m}'
ss.frameworks = [
'CoreMedia',
'CoreMotion',
'AVFoundation',
'SystemConfiguration',
'OpenGLES'
]
end
s.subspec 'Mixpanel' do |ss|
ss.dependency 'Mixpanel-swift'
ss.dependency 'StanwoodAnalytics/Core'
ss.source_files = 'StanwoodAnalytics/Classes/SubSpecs/Mixpanel/'
end
#s.subspec 'Adjust' do |ss|
# ss.dependency 'Adjust', '~> 4.8.5'
#end
s.subspec 'Google' do |ss|
ss.dependency 'StanwoodAnalytics/Core'
ss.vendored_library = [
'StanwoodAnalytics/Frameworks/GoogleAnalytics-3.17.0/Libraries/libGoogleAnalytics.a'
]
ss.source_files = 'StanwoodAnalytics/Frameworks/GoogleAnalytics-3.17.0/Sources/*.h', 'StanwoodAnalytics/Classes/SubSpecs/GoogleAnalytics/'
ss.frameworks = [
'CoreData',
'SystemConfiguration'
]
ss.libraries = ['z', 'sqlite3']
end
end