Xcode cloud build error: archive of binary target ... does not contain expected binary artifact named

Though everything works fine locally, while trying to build a project in xcode cloud, i get the error

archive of binary target 'libjsoncpp.a' does not contain expected binary artifact named 'libjsoncpp.a'

It is referenced in a Package.swift file as so

       .binaryTarget(
            name: "libjsoncpp.a",
            url: "https://github.com/Imajion/libjsoncpp.a/releases/download/r3/libjsoncpp.a.xcframework.zip",
            checksum: "f29acc8d9e5b983fde90d2f8b8c8091bed8c25d42cc58d487ef0b8f7db303ba6"
       ),

I've also tried checking the .zip into the project and referencing locally as such

.binaryTarget(name: "libopen3d.a", path: "./PreBuilt/libopen3d.a.xcframework.zip"),

However I get the same error.

Can anyone offer any insight? The error is quite vauge.

The link above is valid if anyone would like to check the archive.

I am also experiencing the same issue. The project builds fine from the command line locally, but the same build script in the cloud throws this error.

Did you resolve this problem?

Xcode cloud build error: archive of binary target ... does not contain expected binary artifact named
 
 
Q