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

Migrated project to Swift 5 #86

Closed
wants to merge 3 commits into from
Closed

Migrated project to Swift 5 #86

wants to merge 3 commits into from

Conversation

jjatie
Copy link

@jjatie jjatie commented Apr 4, 2019

Changes

  • Swift version bumped to 5
  • Quick version bumped to 2.x
  • Nimble version bumped to 8.x

References

Testing

No code changes made. All unit test still build and pass.

Checklist

Jacob Christie added 2 commits April 4, 2019 09:09
Required updating Quick to 2.x and Nimble to 8.x
@cocojoe
Copy link
Member

cocojoe commented Apr 4, 2019

@jjatie Thanks, the hardest part is deciding to do a new major, as it feels it is time to follow suit of Quick/Nimble and drop Swift 3.x as both of these Libs no longer support it. Although you should be able to fix your PR to ensure 4.x runs. Not ready to drop that yet. (Ah this may be building...) Will come back in a bit to check.

@jjatie
Copy link
Author

jjatie commented Apr 4, 2019

@cocojoe I'm not sure why the iOS builds are failing. My only guess is that it might have something to do with the Carthage caching?

@cocojoe
Copy link
Member

cocojoe commented Apr 4, 2019

Screenshot 2019-04-04 at 15 09 19

So the migration here is a little more complicated, there are older tests for ObjC. This is also not supported now in Quick/Nimnble.

@jjatie
Copy link
Author

jjatie commented Apr 4, 2019

@cocojoe Regarding dropping Swift 3 support seems like the obvious choice. It would require work just to be able to support tests for Swift 3. Swift 4 has been around for over 1.5 years.
Maintaining an app for modern Apple platforms requires the use of Swift 4, and for non-Apple platforms SPM (when it is introduced) solves any Swift version issues since 4/5 are source compatible.

@jjatie
Copy link
Author

jjatie commented Apr 4, 2019

Screenshot 2019-04-04 at 15 09 19

So the migration here is a little more complicated, there are older tests for ObjC. This is also not supported now in Quick/Nimnble.

I thought that might be the case, but couldn't find any mention of that in their release notes.

@cocojoe
Copy link
Member

cocojoe commented Apr 4, 2019

@quver
Copy link

quver commented Apr 15, 2019

Hello, what is the status of this pull request?

@cocojoe
Copy link
Member

cocojoe commented Apr 15, 2019

Tests don't pass, it will not be accepted like this.

@quver quver mentioned this pull request Apr 15, 2019
3 tasks
@jjatie
Copy link
Author

jjatie commented Apr 16, 2019

@cocojoe The one objective-c test we have doesn't pass because of the updates to Quick/Nimble.

@quver If you'd like to help, you can solve this issue.

@cocojoe
Copy link
Member

cocojoe commented May 1, 2019

Thanks for the PR, I had a pass on this in #88

@cocojoe cocojoe closed this May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants