简体   繁体   中英

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 在此输入图像描述

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

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'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM