File tree 1 file changed +0
-28
lines changed
ReleaseTooling/Sources/ZipBuilder 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -639,34 +639,6 @@ struct FrameworkBuilder {
639
639
" \( framework) : \( error) " )
640
640
}
641
641
642
- // Move any privacy manifest-containing resource bundles into the
643
- // platform framework.
644
- try ? fileManager. contentsOfDirectory (
645
- at: frameworkPath. deletingLastPathComponent ( ) ,
646
- includingPropertiesForKeys: nil
647
- )
648
- . filter { $0. pathExtension == " bundle " }
649
- // TODO(ncooke3): Once the zip is built with Xcode 15, the following
650
- // `filter` can be removed. The following block exists to preserve
651
- // how resources (e.g. like FIAM's) are packaged for use in Xcode 14.
652
- . filter { bundleURL in
653
- let dirEnum = fileManager. enumerator ( atPath: bundleURL. path)
654
- var containsPrivacyManifest = false
655
- while let relativeFilePath = dirEnum? . nextObject ( ) as? String {
656
- if relativeFilePath. hasSuffix ( " PrivacyInfo.xcprivacy " ) {
657
- containsPrivacyManifest = true
658
- break
659
- }
660
- }
661
- return containsPrivacyManifest
662
- }
663
- // Bundles are moved rather than copied to prevent them from being
664
- // packaged in a `Resources` directory at the root of the xcframework.
665
- . forEach { try ! fileManager. moveItem (
666
- at: $0,
667
- to: platformFrameworkDir. appendingPathComponent ( $0. lastPathComponent)
668
- ) }
669
-
670
642
// Headers from slice
671
643
do {
672
644
let headersSrc : URL = frameworkPath. appendingPathComponent ( " Headers " )
You can’t perform that action at this time.
0 commit comments