@@ -380,10 +380,6 @@ struct FrameworkBuilder {
380
380
}
381
381
umbrellaHeader = umbrellaHeaderURL. lastPathComponent
382
382
}
383
- // Add an Info.plist. Required by Carthage and SPM binary xcframeworks.
384
- CarthageUtils . generatePlistContents ( forName: frameworkName,
385
- withVersion: podInfo. version,
386
- to: frameworkDir)
387
383
388
384
// TODO: copy PrivateHeaders directory as well if it exists. SDWebImage is an example pod.
389
385
@@ -594,8 +590,8 @@ struct FrameworkBuilder {
594
590
/// Groups slices for each platform into a minimal set of frameworks.
595
591
/// - Parameter withName: The framework name.
596
592
/// - Parameter isCarthage: Name the temp directory differently for Carthage.
597
- /// - Parameter fromFolder: The almost complete framework folder. Includes Headers, Info.plist,
598
- /// and Resources.
593
+ /// - Parameter fromFolder: The almost complete framework folder. Includes
594
+ /// Headers, and Resources.
599
595
/// - Parameter slicedFrameworks: All the frameworks sliced by platform.
600
596
/// - Parameter moduleMapContents: Module map contents for all frameworks in this pod.
601
597
private func groupFrameworks( withName framework: String ,
@@ -660,15 +656,6 @@ struct FrameworkBuilder {
660
656
fatalError ( " Could not create framework directory needed to build \( framework) : \( error) " )
661
657
}
662
658
663
- // Info.plist from `fromFolder`
664
- do {
665
- let infoPlistSrc = fromFolder. appendingPathComponent ( " Info.plist " ) . resolvingSymlinksInPath ( )
666
- let infoPlistDst = platformFrameworkDir. appendingPathComponent ( " Info.plist " )
667
- try fileManager. copyItem ( at: infoPlistSrc, to: infoPlistDst)
668
- } catch {
669
- fatalError ( " Could not create framework directory needed to build \( framework) : \( error) " )
670
- }
671
-
672
659
// Copy the binary to the right location.
673
660
let binaryName = frameworkPath. lastPathComponent. replacingOccurrences ( of: " .framework " ,
674
661
with: " " )
0 commit comments