I've installed Alamofire 5 using Carthage, and it keeps showing error that it has no member request.
Alamofire.request(route).responseJSONDecodable { response in }
Module 'Alamofire' has no member named 'request'
You are using Alamofire 5 then you should use AF.request instead of Alamofire.request.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With