Replies: 5 comments 2 replies
-
Hi @hiragram, I am going to convert this to a discussion because it is not clear that it is actually a problem with the library that we could possible fix. It seems to be a problem with the Charts framework. |
Beta Was this translation helpful? Give feedback.
-
Came here to +1 this. I tried standalone and hosted tests, iOS 17. |
Beta Was this translation helpful? Give feedback.
-
Ooh, but I was able to make it work by running a hosted test and using |
Beta Was this translation helpful? Give feedback.
-
@mbrandonw Are you or Stephen aware of anyone finding any other workaround(s) for this issue? I managed to create my own strategy using |
Beta Was this translation helpful? Give feedback.
-
I am facing the same with Views containing charts and narrowed down a bit more. ✅ The follow simple chart with data [1, 2, 3, 4, 5] works
❌ But, when the data is changed to [10, 20, 30, 40, 50], it crashes.
❌ As mentioned here, it crashes for me as well
I have tests in frameworks for which I don't want to use hosted app for tests. Any other solution? @stephencelis @mbrandonw |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Test crashes view.layer.render(in: ctx.cgContext) when view contains Swift Charts
To Reproduce
Minimum reproduction code is TBD.
❌ Crashed
❌ Crashed even if all modifiers of
Chart
are removed❌ Crashed even if all modifiers of
XXXMark
s are removed.✅ Did not crash if
Chart
contains noXXXMark
Expected behavior
No crash
Environment
d1082c48edaee17914556517b29cea7e3388b2b7
)Additional context
Add any more context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions