Since first version of Xcode 15, and even with the latest beta 4, when a project that contains
a reference into a .xcframework
binaryTarget is archived, the following error appears, blocking the release process:
“Lottie.xcframework.signature” couldn’t be copied to “Signatures” because an item with the same name already exists.
- Cocoapods based project
- Local Swift Package (
libraries
directory) with a binary example dependency (Lottie, but it could be any other one) - Development Pod with a Swift Package Manager local dependency
- Xcode 15
- Cocoapods 1.12.1
- Ruby 3.1.4
-
Open the
TestProject.xcworkspace
-
Choose
Library1
scheme -
Go to
Product - Archive
-
The failure related with signatures will happen.
However, if you choose MyFramework
scheme and repeat the same steps the problem is not reproducible, when both targets contain the same SPM binary dependency (Lottie).