MakeAWishFoundation / SwiftyMocky

Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.
MIT License
1.03k stars 104 forks source link

Can't Download CLI tool #343

Closed mina-yousry closed 1 year ago

mina-yousry commented 1 year ago

when I try to install CLI tool with mint I get this error

mint install MakeAWishFoundation/SwiftyMocky --verbose

🌱 Finding latest version of SwiftyMocky 🌱 Cloning SwiftyMocky 4.2.0 Cloning into 'github.com_MakeAWishFoundation_SwiftyMocky'... remote: Enumerating objects: 399, done. remote: Counting objects: 100% (399/399), done. remote: Compressing objects: 100% (353/353), done. remote: Total 399 (delta 99), reused 212 (delta 30), pack-reused 0 Receiving objects: 100% (399/399), 13.41 MiB | 1.83 MiB/s, done. Resolving deltas: 100% (99/99), done. Note: switching to '1e81c0c566c26d2d4e4cc2d799afad7d3ef931ab'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

🌱 Resolving package error: 'github.com_makeawishfoundation_swiftymocky': Invalid manifest /private/var/folders/1j/01tbs19n46j63zt0kkr_qbd00000gn/T/mint/github.com_MakeAWishFoundation_SwiftyMocky/Package.swift:4:8: error: no such module 'PackageDescription' import PackageDescription ^ 🌱 Encountered error during "swift package resolve" 🌱 Failed to resolve SwiftyMocky 4.2.0 with SPM

can anyone help ?