SwiftyMocky icon indicating copy to clipboard operation
SwiftyMocky copied to clipboard

CLI in SwiftMocky-CLI doesn't seem compatible with 4.1.0

Open rlnucci opened this issue 2 years ago • 2 comments

We tried updating SwiftMocky to 4.1.0 while still using the cli from SwiftMocky-CLI and got several errors when trying to generate the mocks, so it looks like things are not compatible

rlnucci avatar Oct 18 '21 21:10 rlnucci

same issue here. 4.0.3 and 4.1.0 produce a different output

mltbnz avatar Oct 26 '21 13:10 mltbnz

The updated CLI would be 4.1.0 but is only available as a pre-release commit https://github.com/MakeAWishFoundation/SwiftyMockyCLI/commit/d74496038585a8f56940da3e510156f58b6de54a

I think it is anyway recommended to remove the usage of SwiftyMocky-CLI and use the CLI binary that is bundled within this repo since the 4.1.0 release.

Example:

$PODS_ROOT/SwiftyMocky/bin/swiftymocky generate

pschneider avatar Nov 22 '21 10:11 pschneider