-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Moya on Swift 2.3 & 3.0. #513
Comments
With ReactiveX/RxSwift@9b1583f RxSwift supports Swift 2.3. It doesn't have the correct build flag. |
This is great work and a nice comprehensive write-up, thanks @aaroncrespo! |
Another thing to think about is if it makes sense to skip 2.3 and go straight to 3.0 or how to support 3 versions. The |
Sorry about the accidental closure. Misunderstood what 'Close' meant in a third-party GitHub client. Was just trying to close the issue view. 😳 |
No problem, it happens! |
I highly recommend a Swift 2.3 build, even as a version bump, before going to Swift 3. Alamofire had breaking changes so without this people won't be able to use pre-Swift 3 on Xcode 8. I know I'll be using Xcode 8 and Swift 2.3 for a while after the release. |
I've changed the title due to #522 discussion. |
Aye, think it's worth shipping a 2.3 dupe of current Moya, one the Rx deps have them, then moving to 3.0 |
That makes sense – should we make 2.3 version off of |
Maybe the last stable release? |
Looks like Alamofire is about to cut a https://github.com/Alamofire/Alamofire/milestone/27 I think this is the dependency to push a release supporting 2.3 |
Is there any update on swift 3.0 support now that Xcode 8 GM is out |
Need swift 2.3 and swift 3.0 support here... |
We will have to wait before updating to the GM Seed version:
Edit: I've opened #608 for Swift 3.0 support. |
@sunshinejr It seems Result already is Swift 3. :) |
This looks like it's been solved with the 8.0.0 beta releases, I'm going to close it out. Please feel free to open this if there are any loose ends! |
Took a crack at checking out swift 2.3 support this morning...
The good news:
#if swift(>=2.3) ...
The meh news:
rake build
andrake test
don't work without setting the TOOLCHAINS Environment flag. This is probably a bug in xcodebuild.So tracking what happened when I got it all building:
P.S. It's been a while since I ran Moya in dev mode and it took me a little while to get oriented, do you guys think a quick Getting Started With Developing Moya section somewhere would be useful? maybe #270. I don't really use rake for build scripting so it took a bit to get that setup.
The text was updated successfully, but these errors were encountered: