-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Update minimum Swift version to 5.5 #1787
Conversation
@@ -193,12 +193,12 @@ extension GradientShapeItem { | |||
for colorIndex in 0..<numberOfColors { | |||
let colorStartIndex = colorIndex * 4 | |||
|
|||
let colorLocation = CGFloat(colorComponents[colorStartIndex]) | |||
let colorLocation = Double(colorComponents[colorStartIndex]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
banished CGFloat
to the shadow realm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One of these CGFloat
changes causes the Xcode 13.2 build to fail with a weird and unhelpful Illegal instruction: 4
error, so I reverted those changes
This reverts commit 0a28b2f.
Lottie 4.0 is a good opportunity for us to update our minimum-supported Swift version.
This PR updates this repo to require Swift 5.5 and Xcode 13.0+