Tuist-Pokedex
Tuist-Pokedex copied to clipboard
Failed to generate project and workspace via tuist
$ tuist version
2.6.0
$ tuist generate
`JGProgressHUD` is not a valid configured external dependency
Consider creating an issue using the following link: https://github.com/tuist/tuist/issues/new/choose
I'm seeing this as well. My guess is that this is related to SPM and that Tuist uses whatever SPM version you have on your machine and that newer versions makes it fail, but this is just speculation for now.
I swapped out the SPM dependency for Carthage and now the project is generated correctly..
I figured it out. It seems like reason changes to the format of Package.resolved was causing the issue. Switching to the Swift 5.5 toolchain resolved the issue.
I would love to see Tuist either embed and use the correct toolchain or at least check that a compatible toolchain is being used...
Thank you @icedice , I have generated the project successfully.
- Update file
Tuist-Pokedex/Tuist/Dependencies.swift
// Tuist-Pokedex/Tuist/Dependencies.swift
let dependencies = Dependencies(
carthage: [
.github(path: "JonasGessner/JGProgressHUD", requirement: .upToNext("2.0.0")),
],
platforms: [.iOS]
)
- Generate project
$ tuist dependencies fetch
$ tuist generate
FYI the most up-to-date version of this project is in another account
https://github.com/ronanociosoig-200/Tuist-Pokedex
Sorry for the slow response and confusion