@@ -93,49 +93,8 @@ public enum CocoaPod: String, CaseIterable {
93
93
/// of frameworks get pulled in.
94
94
public func duplicateFrameworksToRemove( ) -> [ String ] {
95
95
switch self {
96
- case . mlVision:
97
- return [ " BarcodeDetector.framework " ,
98
- " FaceDetector.framework " ,
99
- " LabelDetector.framework " ,
100
- " TextDetector.framework " ]
101
- case . mlVisionBarcodeModel:
102
- return [ " FaceDetector.framework " ,
103
- " GTMSessionFetcher.framework " ,
104
- " GoogleMobileVision.framework " ,
105
- " LabelDetector.framework " ,
106
- " Protobuf.framework " ,
107
- " TextDetector.framework " ]
108
- case . mlVisionFaceModel:
109
- return [ " BarcodeDetector.framework " ,
110
- " GTMSessionFetcher.framework " ,
111
- " GoogleMobileVision.framework " ,
112
- " LabelDetector.framework " ,
113
- " Protobuf.framework " ,
114
- " TextDetector.framework " ]
115
- case . mlVisionLabelModel:
116
- return [ " BarcodeDetector.framework " ,
117
- " FaceDetector.framework " ,
118
- " GTMSessionFetcher.framework " ,
119
- " GoogleMobileVision.framework " ,
120
- " Protobuf.framework " ,
121
- " TextDetector.framework " ]
122
- case . mlVisionTextModel:
123
- return [ " BarcodeDetector.framework " ,
124
- " FaceDetector.framework " ,
125
- " GTMSessionFetcher.framework " ,
126
- " GoogleMobileVision.framework " ,
127
- " LabelDetector.framework " ,
128
- " Protobuf.framework " ]
129
- case . mlVisionAutoML:
130
- return [ " BarcodeDetector.framework " ,
131
- " FaceDetector.framework " ,
132
- " LabelDetector.framework " ,
133
- " TextDetector.framework " ]
134
- case . mlVisionObjectDetection:
135
- return [ " BarcodeDetector.framework " ,
136
- " FaceDetector.framework " ,
137
- " LabelDetector.framework " ,
138
- " TextDetector.framework " ]
96
+ case . mlVisionBarcodeModel, . mlVisionFaceModel, . mlVisionLabelModel, . mlVisionTextModel:
97
+ return [ " GTMSessionFetcher.framework " , " Protobuf.framework " ]
139
98
case . abTesting,
140
99
. adMob,
141
100
. analytics,
@@ -154,6 +113,9 @@ public enum CocoaPod: String, CaseIterable {
154
113
. mlNLLanguageID,
155
114
. mlNLSmartReply,
156
115
. mlNLTranslate,
116
+ . mlVision,
117
+ . mlVisionAutoML,
118
+ . mlVisionObjectDetection,
157
119
. performance,
158
120
. remoteConfig,
159
121
. storage:
@@ -162,19 +124,6 @@ public enum CocoaPod: String, CaseIterable {
162
124
return [ ]
163
125
}
164
126
}
165
-
166
- /// Returns a group of duplicate Resources that should be removed, if any.
167
- public func duplicateResourcesToRemove( ) -> [ String ] {
168
- switch self {
169
- case . mlVisionFaceModel:
170
- return [ " GoogleMVTextDetectorResources.bundle " ]
171
- case . mlVisionTextModel:
172
- return [ " GoogleMVFaceDetectorResources.bundle " ]
173
- default :
174
- // By default, no resources should be removed.
175
- return [ ]
176
- }
177
- }
178
127
}
179
128
180
129
/// Add comparitor for OperatingSystemVersion. We only need the `>` since we don't care about equals
0 commit comments