File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
ZipBuilder/Sources/ZipBuilder Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change
1
+ # v6.6.6 -- M68
2
+ - [ fixed] Unincluded umbrella header warnings in Carthage and zip distributions
3
+ introduced in Firebase 6.21.0. (#5209 )
4
+
1
5
# v6.6.5 -- M67
2
6
- [ changed] The zip distribution is now comprised of xcframeworks instead of
3
7
frameworks. This provides a binary distribution for the community supported
Original file line number Diff line number Diff line change @@ -468,11 +468,10 @@ struct FrameworkBuilder {
468
468
if umbrellas. count != 1 {
469
469
fatalError ( " Did not find exactly one umbrella header in \( headersDir) . " )
470
470
}
471
- guard let firstUmbrella = umbrellas. first,
472
- let foundHeader = URL ( string: firstUmbrella) else {
471
+ guard let firstUmbrella = umbrellas. first else {
473
472
fatalError ( " Failed to get umbrella header in \( headersDir) . " )
474
473
}
475
- umbrellaHeaderURL = foundHeader
474
+ umbrellaHeaderURL = URL ( fileURLWithPath : firstUmbrella )
476
475
} catch {
477
476
fatalError ( " Error while enumerating files \( headersDir) : \( error. localizedDescription) " )
478
477
}
@@ -485,7 +484,7 @@ struct FrameworkBuilder {
485
484
do {
486
485
try fileManager. removeItem ( at: umbrellaHeaderURL)
487
486
} catch let error as NSError {
488
- print ( " Failed to delete: \( umbrellaHeaderURL) . Error: \( error. domain) " )
487
+ fatalError ( " Failed to delete: \( umbrellaHeaderURL) . Error: \( error. domain) " )
489
488
}
490
489
umbrellaHeader = " \( framework) .h "
491
490
let frameworkHeader = headersDir. appendingPathComponent ( umbrellaHeader)
You can’t perform that action at this time.
0 commit comments