Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Alamofire on Swift 2.3 #1616

Closed
matthijsotterloo opened this issue Sep 25, 2016 · 3 comments
Closed

Using Alamofire on Swift 2.3 #1616

matthijsotterloo opened this issue Sep 25, 2016 · 3 comments
Assignees
Labels

Comments

@matthijsotterloo
Copy link

Hi there!

Which version do I have to use if I want to compile my project with Alamofire on Swift 2.3?

Cheers!

Matthijs

@dneykov
Copy link

dneykov commented Sep 25, 2016

Use this:
pod 'Alamofire', '~> 3.5'

@matthijsotterloo
Copy link
Author

I just used that, and enabled 'Use Legacy Swift Version' (set it to yes), but now when I try to run my project I get 275 errors?

@cnoon
Copy link
Member

cnoon commented Sep 25, 2016

You need to use the following:

CocoaPods

You need to use CocoaPods 1.1.0-rc.2 which can be installed with:

  • gem install cocoapods --pre

Then your Podfile should include:

  • pod 'Alamofire', '~> 3.5'

Xcode

You should be using Xcode 8 (the official release) and Swift 2.3. Make sure you project is updated accordingly.

Summary

If you're continuing to run into issues, the last thing you can try is to wipe DerivedData. From there, you'll need to open a new question on Stack Overflow for additional help.

Cheers. 🍻

@cnoon cnoon closed this as completed Sep 25, 2016
@cnoon cnoon added the support label Sep 25, 2016
@cnoon cnoon self-assigned this Sep 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants