简体   繁体   中英

Alamofire with Swift 3.0 & Deployment Target 8.0

What is the way to integrate Alamofire with Swift 3.0 and also have to provide support for iOS 8 ? Is there any other option then Alamofire ?

Upgrading to the latest Cocoapods do like this

gem install cocoapods --pre

seems to solve the issue for my circumstance.

 source 'https://github.com/CocoaPods/Specs.git'
    platform :ios, '10.0'

above this line only specification use this alamofire platform if u want all platform then remove this platform line and second thing is deployment target select 8.0 so all platform in use alamofire.

use_frameworks!

target '<Your Target Name>' do
    pod 'Alamofire', '~> 4.4'
end

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