Post

Replies

Boosts

Views

Activity

SPM binary target issue on Xcode 14
I'm getting this error while building a project on Xcode 14 beta 4: Binary target 'LibraryName' could not be mapped to an artifact with the expected name 'LibraryName' The same project builds successfully on the previous Xcode versions. Here is the package file content: let package = Package(     name: "PackageName",     platforms: [.iOS(.v13],     products: [         .library(             name: "PackageName",             targets: ["PackageName", "LibraryName"]         )     ],     dependencies: [     ],     targets: [         .target(             name: "PackageName",             dependencies:                 .target(name: "LibraryName"),             ]]         ),         .binaryTarget(name: "LibraryName", path: "Sources/LibraryBinaries/LibraryName.xcframework") )
3
2
5.8k
Aug ’22