Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to use Alamofire on CocoaTouch Framework

Im working on a custom CocoaTouch Framework in swift thats include several frameworks like AFNetworking, SwiftyJSON and many others added with CocoaPods. I need also include Alamofire but after build I receive a lot of compile error of Alamofire framework enter image description here

What's wrong? Should I edit something in my project? Steps to reproduce: Create CocoaToch Framework Project > pod install with pod 'Alamofire' and platform :ios, '8.0' use_frameworks! > open xcworkspace > Build

I really appreciate any help you can provide

Marco

like image 317
Marco Mirisola Avatar asked Oct 31 '22 19:10

Marco Mirisola


1 Answers

You are trying to get latest version of the Alamofire which supports XCode 7. So you should fetch the specific version. Try to download this version:

pod 'Alamofire', '~> 1.3'
like image 83
ridvankucuk Avatar answered Nov 20 '22 18:11

ridvankucuk