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

Not able to compile on iOS 16 #4870

Closed
1 task
VireshS opened this issue Jul 25, 2022 · 1 comment
Closed
1 task

Not able to compile on iOS 16 #4870

VireshS opened this issue Jul 25, 2022 · 1 comment
Assignees

Comments

@VireshS
Copy link

VireshS commented Jul 25, 2022

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag ios-charts.

Please remove this line and everything above it before submitting.

What did you do?

Installed Chart library. 4.0.3 using Cocoapods in my project with iOS 16 Deployment target

What did you expect to happen?

Should compile without any compilation error

What happened instead?

Compilation failed with below error
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
File: ChartAnimationEasing.swift
internal static let EaseOutBack = { (elapsed: TimeInterval, duration: TimeInterval) -> Double in let s: TimeInterval = 1.70158 var position: TimeInterval = elapsed / duration position -= 1.0 return Double( position * position * ((s + 1.0) * position + s) + 1.0 ) }

Charts Environment

Charts version/Branch/Commit Number:
Xcode version: Xcode 14 Beta 2
Swift version: Swift 5
Platform(s) running Charts: iOS 16
macOS version running Xcode: MacOS Monterey 12.4

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

@pmairoldi
Copy link
Collaborator

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

2 participants