Scipio icon indicating copy to clipboard operation
Scipio copied to clipboard

Cannot cache Alamofire: Cannot initialize Kind from invalid String value remoteSourceControl

Open mikeger opened this issue 2 years ago • 2 comments

I'm currently working on porting my project to use Scipio, however even the most basic config file cannot be used.

Example

name: Contrib

deploymentTarget:
  iOS: "11.0"

cache:
  local:
    path: Contrib

packages:
  - name: Alamofire
    url: https://github.com/Alamofire/Alamofire
    branch: 5.4.1

Result:

scipio
No "base" settings found
No "debug config" settings found
No "release config" settings found
[17:16:16]: 📦  Resolving package dependencies...
[17:16:16]: Resolve Package Graph

[17:16:16]: 🧮  Loading Swift packages...
Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "object", intValue: nil), CodingKeys(stringValue: "dependencies", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "packageRef", intValue: nil), CodingKeys(stringValue: "kind", intValue: nil)], debugDescription: "Cannot initialize Kind from invalid String value remoteSourceControl", underlyingError: nil))

Additional information

  • Apple Silicon
  • macOS 13.0
  • Xcode 14.1
  • scipio 0.2.8 (tool reporting 0.2.5)

mikeger avatar Nov 28 '22 16:11 mikeger