MengTo / Spring

A library to simplify iOS animations in Swift.

Home Page:http://designcode.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift 4.2

rawmean opened this issue · comments

commented

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

i am also facing same issue...

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

commented

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.

I have this problem too

commented

Spring.podspec Add s.swift_version = "4.2"

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

commented

@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