Closed Semty closed 8 months ago
We've just started getting this today but with 5.1.0
If I open the package locally, the package does not resolve with errors:
Showing Recent Messages
/Package.swift/PackageDescription.Target:63:24: 'target(name:dependencies:path:exclude:sources:resources:publicHeadersPath:cSettings:cxxSettings:swiftSettings:linkerSettings:)' was introduced in PackageDescription 5.3
I'm using XCode 15.2, but we get the issue on Bitrise as well, running 15.1
Can be fixed by updating swift-tools-version in Package.swift:
// swift-tools-version:5.7
We've just started getting this today but with 5.1.0
Seems this was caused by SPM not respecting the Package.resolved
file in our CI
Having the same issue.
same issue +1
Not trying to pile on, but same thing happened to me.
Can be fixed by updating swift-tools-version in Package.swift:
// swift-tools-version:5.7
@valentary How to update this?
Mine is using 5.9, so I imagine the change has to occur here.
There is a PR that is open: https://github.com/devicekit/DeviceKit/pull/381. Maybe if we all collectively pray to the patron saint of computer programming, Saint Isidore of Seville, it can be merged very soon 🙏
@Zandor300 A new hotfix release with this fix would be really useful for us SPM users 😃 If you need any testing done, just tell us.
need fix this issue urgent.
For now, as a workaround, I suggest using an exact
version to 5.1.0
on your Package.swift
.
The cause, imo, is as follows:
The other errors: