I was using Alamofire in Xcode 7.3.1, Swift 2 so far. But now I wanted to migrate to Swift 3. I was using pods to update the Alamofire library. Now, I am getting 386 errors in my code from Alamofire. What could be the reason? Isn't Alamofire made for Swift 3 yet? Or is it some mistake I am doing?
You might have not updated your cocoa pods
Execute the follwoing on your terminal:
sudo gem install cocoapods --pre
Update your pods. For alamofire latest version use:
pod 'Alamofire', '~> 4.0'
Alamo fire is available for swift 3 , I think you should update your pods even if you get a error it's your code problem,
Go to terminal and run this command : pod update
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.