@@ -179,7 +179,7 @@ struct ZipBuilder {
179179 // the folders in each product directory.
180180 let linkage : CocoaPodUtils . LinkageType = dynamicFrameworks ? . dynamic : . standardStatic
181181 var groupedFrameworks : [ String : [ URL ] ] = [ : ]
182- var carthageCoreDiagnosticsFrameworks : [ URL ] = [ ]
182+ var carthageGoogleUtilitiesFrameworks : [ URL ] = [ ]
183183 var podsBuilt : [ String : CocoaPodUtils . PodInfo ] = [ : ]
184184 var xcframeworks : [ String : [ URL ] ] = [ : ]
185185 var resources : [ String : URL ] = [ : ]
@@ -241,13 +241,13 @@ struct ZipBuilder {
241241 podInfo: podInfo)
242242 groupedFrameworks [ podName] = ( groupedFrameworks [ podName] ?? [ ] ) + frameworks
243243
244- if includeCarthage, podName == " FirebaseCoreDiagnostics " {
244+ if includeCarthage, podName == " GoogleUtilities " {
245245 let ( cdFrameworks, _) = builder. compileFrameworkAndResources ( withName: podName,
246246 logsOutputDir: paths
247247 . logsOutputDir,
248248 setCarthage: true ,
249249 podInfo: podInfo)
250- carthageCoreDiagnosticsFrameworks += cdFrameworks
250+ carthageGoogleUtilitiesFrameworks += cdFrameworks
251251 }
252252 if resourceContents != nil {
253253 resources [ podName] = resourceContents
@@ -299,13 +299,13 @@ struct ZipBuilder {
299299 fatalError ( " Could not create XCFrameworks Carthage directory: \( error) " )
300300 }
301301
302- let carthageCoreDiagnosticsXcframework = FrameworkBuilder . makeXCFramework (
303- withName: " FirebaseCoreDiagnostics " ,
304- frameworks: carthageCoreDiagnosticsFrameworks ,
302+ let carthageGoogleUtilitiesXcframework = FrameworkBuilder . makeXCFramework (
303+ withName: " GoogleUtilities " ,
304+ frameworks: carthageGoogleUtilitiesFrameworks ,
305305 xcframeworksDir: xcframeworksCarthageDir,
306306 resourceContents: nil
307307 )
308- return ( podsBuilt, xcframeworks, carthageCoreDiagnosticsXcframework )
308+ return ( podsBuilt, xcframeworks, carthageGoogleUtilitiesXcframework )
309309 }
310310
311311 /// Try to build and package the contents of the Zip file. This will throw an error as soon as it
@@ -333,7 +333,7 @@ struct ZipBuilder {
333333 platforms: [ " ios " ] ) )
334334
335335 print ( " Final expected versions for the Zip file: \( podsToInstall) " )
336- let ( installedPods, frameworks, carthageCoreDiagnosticsXcframeworkFirebase ) =
336+ let ( installedPods, frameworks, carthageGoogleUtilitiesXcframeworkFirebase ) =
337337 buildAndAssembleZip ( podsToInstall: podsToInstall,
338338 includeCarthage: true ,
339339 // Always include dependencies for Firebase zips.
@@ -346,8 +346,8 @@ struct ZipBuilder {
346346 " installed: \( installedPods) " )
347347 }
348348
349- guard let carthageCoreDiagnosticsXcframework = carthageCoreDiagnosticsXcframeworkFirebase else {
350- fatalError ( " CoreDiagnosticsXcframework is missing" )
349+ guard let carthageGoogleUtilitiesXcframework = carthageGoogleUtilitiesXcframeworkFirebase else {
350+ fatalError ( " GoogleUtilitiesXcframework is missing" )
351351 }
352352
353353 let zipDir = try assembleDistributions ( withPackageKind: " Firebase " ,
@@ -357,7 +357,7 @@ struct ZipBuilder {
357357 firebasePod: firebasePod)
358358 // Replace Core Diagnostics
359359 var carthageFrameworks = frameworks
360- carthageFrameworks [ " FirebaseCoreDiagnostics " ] = [ carthageCoreDiagnosticsXcframework ]
360+ carthageFrameworks [ " GoogleUtilities " ] = [ carthageGoogleUtilitiesXcframework ]
361361 let carthageDir = try assembleDistributions ( withPackageKind: " CarthageFirebase " ,
362362 podsToInstall: podsToInstall,
363363 installedPods: installedPods,
0 commit comments