Chris
Chris

Reputation: 21

No such module 'Alamofire' - Xcode 12

I'm trying to import Alamofire to a Swift 5 Xcode project (Xcode 12, iOS 14.4) but I'm getting the 'No such module'Alamofire'' error message.

The Cocoapods for the latest Alamofire and SwiftyJSON versions, which I added at the same time, both appear to have installed correctly and 'Import SwiftyJSON' is not throwing up the same error in Xcode.

Any ideas what is going on with this? Has Alamofire been replaced?

Any help would be greatly appreciated.

Many thanks in advance

Upvotes: 0

Views: 324

Answers (1)

Chris
Chris

Reputation: 21

It just seemed to sort itself out without any changes after numerous attempts at a clean build and closing and reopening xcode - weird

Upvotes: 0

Related Questions