Skip to content

Commit 87bba4d

Browse files
committed
[Release Tooling] Handle all resources the same when building on Xcode 15
1 parent 09ed712 commit 87bba4d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

ReleaseTooling/Sources/ZipBuilder/FrameworkBuilder.swift

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -674,20 +674,6 @@ struct FrameworkBuilder {
674674
includingPropertiesForKeys: nil
675675
)
676676
.filter { $0.pathExtension == "bundle" }
677-
// TODO(ncooke3): Once the zip is built with Xcode 15, the following
678-
// `filter` can be removed. The following block exists to preserve
679-
// how resources (e.g. like FIAM's) are packaged for use in Xcode 14.
680-
.filter { bundleURL in
681-
let dirEnum = fileManager.enumerator(atPath: bundleURL.path)
682-
var containsPrivacyManifest = false
683-
while let relativeFilePath = dirEnum?.nextObject() as? String {
684-
if relativeFilePath.hasSuffix("PrivacyInfo.xcprivacy") {
685-
containsPrivacyManifest = true
686-
break
687-
}
688-
}
689-
return containsPrivacyManifest
690-
}
691677
// Bundles are moved rather than copied to prevent them from being
692678
// packaged in a `Resources` directory at the root of the xcframework.
693679
.forEach { try! fileManager.moveItem(

0 commit comments

Comments
 (0)