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.
Recently migrating our project from CocoaPods to Swift Package Manager.
After
Adding SwiftyMocky, with dependency rule 'Up to Next Mayor Version' '4.0.0 < 5.0.0',
Selecting only the "SwiftyMocky" Package Product, adding it to Target "MyProjectTests"
and trying to run all tests in project (Product/Test), I've got the following error message:
/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/SourcePackages/checkouts/ShellOut/Sources/ShellOut.swift
/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/SourcePackages/checkouts/ShellOut/Sources/ShellOut.swift:34:14 Cannot find type 'Process' in scope
/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/SourcePackages/checkouts/ShellOut/Sources/ShellOut.swift:67:14 Cannot find type 'Process' in scope
/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/SourcePackages/checkouts/ShellOut/Sources/ShellOut.swift:102:14 Cannot find type 'Process' in scope
/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/SourcePackages/checkouts/ShellOut/Sources/ShellOut.swift:377:19 Cannot find type 'Process' in scope
Recently migrating our project from CocoaPods to Swift Package Manager.
After
As far as I understand 'Process' is something only available for macOS and not iOS SDK (https://github.com/JohnSundell/ShellOut/issues/69)
Although I don't understand how is this connected to using SwiftyMocky.
Can you please advise?