xcprojectlint
xcprojectlint copied to clipboard
error: product 'SPMUtility' not found
release 0.0.6
when running
swift package update
make build
i get:
swift build 'llbuild' /Users/donalobrien/Downloads/xcprojectlint-0.0.6/.build/checkouts/swift-llbuild: warning: ignoring broken symlink /Users/donalobrien/Downloads/xcprojectlint-0.0.6/.build/checkouts/swift-llbuild/lib/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm 'xcprojectlint' /Users/donalobrien/Downloads/xcprojectlint-0.0.6: error: product 'SPMUtility' not found. It is required by target 'xcprojectlint-package'. warning: dependency 'SwiftPM' is not used by any target
In the latest spm the SPMUtility is removed.
As a temporary solution you can change in Package.swift
dependency version from
.package(url: "https://github.com/apple/swift-package-manager.git", version: "0.1.0"),
to
.package(url: "https://github.com/apple/swift-package-manager.git", .exact( "0.4.0")),
update: this tool require swift-package-manager
in version 0.4.0, otherwise it won't compile.
Thank you for the feedback. I'll see what we can do about removing that dependency.