JAK
JAK

Reputation: 6481

How to fix Alamofire library errors?

I am using Xcode7.3.1 and i added Alamofire (4.0.1) version.But when i tried to run the project then i got many errors in Alamofire library.Please find attached screenshot contains errors.My podfile contain like the following.How to fix these errors?

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'ALamoWeather' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!
  # Pods for ALamoWeather
pod 'Alamofire'
end

enter image description here

Upvotes: 0

Views: 123

Answers (1)

alexburtnik
alexburtnik

Reputation: 7741

Alamofire 4.0.1 is using Swift 3, while Xcode 7.x doesn't support it. You should upgrade to Xcode 8 in order to use the newest Alamofire.

Upvotes: 2

Related Questions