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

Swift 4.2 #321

Open
rawmean opened this issue Sep 28, 2018 · 7 comments
Open

Swift 4.2 #321

rawmean opened this issue Sep 28, 2018 · 7 comments

Comments

@rawmean
Copy link

rawmean commented Sep 28, 2018

The library does not compile under Swift 4.2 anymore (tons of errors). Is this repo abandoned?

@rezaul99
Copy link

rezaul99 commented Oct 4, 2018

i am also facing same issue...

@rm335
Copy link

rm335 commented Oct 10, 2018

You can solve this problem by selecting the Swift Language Version "Swift 4.2".

Pods -> Targets -> Spring -> Build Settings -> Swift Language Version and select Swift 4.2

@rawmean
Copy link
Author

rawmean commented Oct 10, 2018

There are numerous compile errors with 4.2. That's the problem. The errors go away if you compile with 4.0, but the deprecations are going to take effect in the next swift version and then it wouldn't compile at all.

@ludivinefafournoux
Copy link

I have this problem too

@fanglinwei
Copy link

Spring.podspec Add s.swift_version = "4.2"

@laurennicoleroth
Copy link

laurennicoleroth commented Nov 30, 2018

pod 'Spring', :git => 'https://github.com/MengTo/Spring.git' only works for iOS 10. 83 build errors for target 12.

@rawmean
Copy link
Author

rawmean commented Nov 30, 2018

@lauren this is not related to iOS version; it's reluto the Swift version that's used to compile the library. It still works on iOS 12 if you force it to compile using Swift 4.0

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

No branches or pull requests

6 participants