-
Notifications
You must be signed in to change notification settings - Fork 11
/
EmbraceIO.podspec
136 lines (116 loc) · 5.6 KB
/
EmbraceIO.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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
Pod::Spec.new do |spec|
spec.name = "EmbraceIO"
spec.version = "6.5.2"
spec.summary = "Visibility into your users that you didn't have before."
spec.description = <<-DESC
Embrace is the only performance monitoring platform focused solely on mobile. We are built
for the entire mobile team to assure the stability and performance of their apps.
DESC
spec.homepage = "https://embrace.io"
spec.documentation_url = "https://embrace.io/docs/"
spec.license = { :type => "Apache 2.0" }
spec.author = "Embrace.io"
spec.source = { "http" => "https://github.com/embrace-io/embrace-apple-sdk/releases/download/#{spec.version}/embrace_#{spec.version}.zip" }
spec.preserve_paths = [ "run.sh", "embrace_symbol_upload.darwin" ]
spec.requires_arc = true
spec.ios.deployment_target = "13.0"
spec.default_subspec = "EmbraceIO"
spec.subspec 'EmbraceIO' do |io|
io.vendored_frameworks = "xcframeworks/EmbraceIO.xcframework"
io.dependency "EmbraceIO/EmbraceCaptureService"
io.dependency "EmbraceIO/EmbraceCore"
io.dependency "EmbraceIO/EmbraceCommonInternal"
io.dependency "EmbraceIO/EmbraceCrash"
io.dependency "EmbraceIO/EmbraceSemantics"
end
spec.subspec 'EmbraceCore' do |core|
core.vendored_frameworks = "xcframeworks/EmbraceCore.xcframework"
core.dependency "EmbraceIO/EmbraceCaptureService"
core.dependency "EmbraceIO/EmbraceCommonInternal"
core.dependency "EmbraceIO/EmbraceConfigInternal"
core.dependency "EmbraceIO/EmbraceOTelInternal"
core.dependency "EmbraceIO/EmbraceStorageInternal"
core.dependency "EmbraceIO/EmbraceUploadInternal"
core.dependency "EmbraceIO/EmbraceObjCUtilsInternal"
core.dependency "EmbraceIO/EmbraceSemantics"
core.dependency "EmbraceIO/EmbraceConfiguration"
end
spec.subspec 'EmbraceCommonInternal' do |common|
common.vendored_frameworks = "xcframeworks/EmbraceCommonInternal.xcframework"
end
spec.subspec 'EmbraceSemantics' do |semantics|
semantics.vendored_frameworks = "xcframeworks/EmbraceSemantics.xcframework"
semantics.dependency "EmbraceIO/EmbraceCommonInternal"
semantics.dependency "EmbraceIO/OpenTelemetrySdk"
end
spec.subspec 'EmbraceCaptureService' do |capture|
capture.vendored_frameworks = "xcframeworks/EmbraceCaptureService.xcframework"
capture.dependency "EmbraceIO/EmbraceOTelInternal"
capture.dependency "EmbraceIO/OpenTelemetrySdk"
end
spec.subspec 'EmbraceConfigInternal' do |config|
config.vendored_frameworks = "xcframeworks/EmbraceConfigInternal.xcframework"
config.dependency "EmbraceIO/EmbraceCommonInternal"
config.dependency "EmbraceIO/EmbraceConfiguration"
end
spec.subspec 'EmbraceConfiguration' do |config|
config.vendored_frameworks = "xcframeworks/EmbraceConfiguration.xcframework"
end
spec.subspec 'EmbraceOTelInternal' do |otel|
otel.vendored_frameworks = "xcframeworks/EmbraceOTelInternal.xcframework"
otel.dependency "EmbraceIO/EmbraceCommonInternal"
otel.dependency "EmbraceIO/EmbraceSemantics"
otel.dependency "EmbraceIO/OpenTelemetrySdk"
end
spec.subspec 'EmbraceStorageInternal' do |storage|
storage.vendored_frameworks = "xcframeworks/EmbraceStorageInternal.xcframework"
storage.dependency "EmbraceIO/EmbraceCommonInternal"
storage.dependency "EmbraceIO/EmbraceSemantics"
storage.dependency "EmbraceIO/GRDB"
end
spec.subspec 'EmbraceUploadInternal' do |upload|
upload.vendored_frameworks = "xcframeworks/EmbraceUploadInternal.xcframework"
upload.dependency "EmbraceIO/EmbraceCommonInternal"
upload.dependency "EmbraceIO/EmbraceOTelInternal"
upload.dependency "EmbraceIO/GRDB"
end
spec.subspec 'EmbraceCrashlyticsSupport' do |cs|
cs.vendored_frameworks = "xcframeworks/EmbraceCrashlyticsSupport.xcframework"
cs.dependency "EmbraceIO/EmbraceCommonInternal"
end
spec.subspec 'EmbraceCrash' do |crash|
crash.vendored_frameworks = "xcframeworks/EmbraceCrash.xcframework"
crash.dependency "EmbraceIO/EmbraceCommonInternal"
crash.dependency "EmbraceIO/KSCrash"
end
spec.subspec 'EmbraceObjCUtilsInternal' do |objc|
objc.vendored_frameworks = "xcframeworks/EmbraceObjCUtilsInternal.xcframework"
end
# External
spec.subspec 'OpenTelemetryApi' do |otelApi|
otelApi.vendored_frameworks = "xcframeworks/OpenTelemetryApi.xcframework"
end
spec.subspec 'OpenTelemetrySdk' do |otelSdk|
otelSdk.vendored_frameworks = "xcframeworks/OpenTelemetrySdk.xcframework"
otelSdk.dependency "EmbraceIO/OpenTelemetryApi"
end
spec.subspec 'GRDB' do |grdb|
grdb.vendored_frameworks = "xcframeworks/GRDB.xcframework"
end
spec.subspec 'KSCrash' do |kscrash|
kscrash.dependency "EmbraceIO/KSCrashCore"
kscrash.dependency "EmbraceIO/KSCrashRecording"
kscrash.dependency "EmbraceIO/KSCrashRecordingCore"
end
spec.subspec 'KSCrashCore' do |kscrashCore|
kscrashCore.vendored_frameworks = "xcframeworks/KSCrashCore.xcframework"
end
spec.subspec 'KSCrashRecording' do |kscrashRecording|
kscrashRecording.vendored_frameworks = "xcframeworks/KSCrashRecording.xcframework"
kscrashRecording.dependency "EmbraceIO/KSCrashRecordingCore"
end
spec.subspec 'KSCrashRecordingCore' do |kscrashRecordingCore|
kscrashRecordingCore.vendored_frameworks = "xcframeworks/KSCrashRecordingCore.xcframework"
kscrashRecordingCore.dependency "EmbraceIO/KSCrashCore"
end
end