Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mikeger opened this issue Nov 28, 2022 · 2 comments
Labels

Comments

@mikeger
Copy link

mikeger commented Nov 28, 2022

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
Copy link
Author

mikeger commented Nov 28, 2022

@evandcoleman if you have an idea, would be great. Otherwise, please point in the right direction so I can investigate the issue myself.

@evandcoleman
Copy link
Owner

This is a known issue. It's due to changes in the Swift package spec that Scipio doesn't yet understand. Unfortunately, life hasn't given me much opportunity to work on this lately, but I'll try to prioritize getting an update pushed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants