periphery icon indicating copy to clipboard operation
periphery copied to clipboard

keyNotFound "minimumVersion"

Open vahotm opened this issue 1 year ago • 2 comments

I am receiving the following error. Is that error also from tuist?

error: (DecodingError) keyNotFound(CodingKeys(stringValue: "minimumVersion", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "requirement", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"minimumVersion\", intValue: nil) (\"minimumVersion\").", underlyingError: nil))

vahotm avatar Jul 05 '24 08:07 vahotm

@vahotm Try this

image

KevinDoremy avatar Jul 07 '24 03:07 KevinDoremy

Possibly because the project does not speciy a minimum version for remote packages, and xcodeproj expects one: https://github.com/tuist/XcodeProj/blob/951e9397e59dd1cabb369c1e8894643f7be22019/Sources/XcodeProj/Objects/SwiftPackage/XCRemoteSwiftPackageReference.swift#L43

ileitch avatar Aug 04 '24 11:08 ileitch

Closing as this is not a bug in Periphery. Please open a bug report at https://github.com/tuist/XcodeProj if this continues to affect your project.

ileitch avatar Sep 15 '24 14:09 ileitch