Moya-ModelMapper
Moya-ModelMapper copied to clipboard
Value of type [T(rawValue] has no member compactMap
Currently I've installed the Pod and I got the following error

Any suggestions?
Hey @jonathanbyte. Basically Mapper 8.0.0 is available only in Swift 4.1+. You'll need to either use Swift 4.1 or Mapper 7.0.0. You can do it by manually adding this line to your Podfile:
pod 'ModelMapper', '~> 7.0.0'
I have solved it. Thanks a lot @sunshinejr