Reputation: 1593
After upgrading to the latest build of Xcode and downloading the newest Alamofire release, I am getting the following error:
Module file was created by an older version of the compiler
With the previous version of Alamofire I added the entire AF project into my app as recommended, however the install guide for the latest version of AF says just to copy the .swift file into the project.
I am still calling import Alamofire
in the file that requires it. This is also where the error appears. If I remove the import
my project generates 86 additional errors.
Upvotes: 1
Views: 1940
Reputation: 1243
For me Cleaning up the Build folder Cmd ⌘ + Alt ⌥ + Shift ⇧ + K worked.
Upvotes: 5
Reputation: 23451
Alamofire is updated now for Xcode 6.3, until I know its creator merge the branch for Xcode 6.3 into the branch master in Github , you have to download it to correct the errors for the new Xcode.
But I strongly recommend you installing Alamofire using CocoaPods, I think is better, it's up to you.
I hope this help you.
Upvotes: 1