finestructure / Arena

A command line tool to create Swift Playground projects with SPM package dependencies
MIT License
684 stars 16 forks source link

Fails for SPIManifest 0.12.0 #87

Closed finestructure closed 1 year ago

finestructure commented 1 year ago
✦ ❯ arena https://github.com/SwiftPackageIndex/SPIManifest@0.12.0
➡️  Package: https://github.com/SwiftPackageIndex/SPIManifest @ exact(0.12.0)
🔧 Resolving package dependencies ...
Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "products", intValue: nil), _JSONKey(stringValue: "Index 2", intValue: 2), CodingKeys(stringValue: "type", intValue: nil)], debugDescription: "none of the required keys found", underlyingError: nil))

Works for 0.11.0:

❯ arena https://github.com/SwiftPackageIndex/SPIManifest@0.11.0 -f
➡️  Package: https://github.com/SwiftPackageIndex/SPIManifest @ exact(0.11.0)
🔧 Resolving package dependencies ...
📔 Libraries found: SPIManifest
✅ Created project in folder 'Arena-Playground'

I suspect the problem is the plugin I added in 0.12.0.