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
Library crashes when example is run with release build configuration (Xcode 11.4) #63
Comments
I have the same issue |
The problem is within gradients. When not using gradients e.g. let useGradient = startColor != endColor in |
Setting the ring to have the same start and end colour fixed the crash for me. |
Thanks for the work around. Has anyone found a way to maintain the gradient? It drastically changes the look of my app without the gradient. |
If you use this library in your app and want to push a new release: use Xcode 11.3.1 |
It is not the best approach. I had high hopes for this but struggled with recompiling some external dependencies in older version of Swift :( Maybe anyone have a fork that is fixed? |
Guys, confirm bug on Xcode 11.4 && 11.4.1, the same problem. And that's so disappointing :(
Seems like an option for now. |
Hi guys! The issue was caused by compiler optimizations in Xcode 11.4 - this is now fixed in version 2.2.3 🎉 |
I was seeing this issue as well with my app, but have now found an easy way to reproduce:
This will result in a crash: GradientGenerator.swift line 113:
let img = ctx.makeImage()!
The text was updated successfully, but these errors were encountered: