You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using LightweightCharts in Xcode 16, I'm encountering Sendable-related warnings that are preventing a clean build. These warnings appear to be related to concurrency features introduced in newer Swift versions.
Environment
Xcode Version: 16.0
Swift Version: 5.7
LightweightCharts Version: 4.0.0
iOS Deployment Target: iOS 17 up
Warnings
In ChartColor.swift:
Class 'ChartColor' must restate inherited '@unchecked Sendable' conformance
In PromptHandler.swift:
Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Are these warnings expected when using LightweightCharts with Xcode 16?
Is there a recommended way to suppress or resolve these warnings without modifying the pod's source code?
Are there plans to update LightweightCharts to fully support the latest Swift concurrency features and remove these warnings?
I'm unable to modify the pod's source code directly as it's locked.
These warnings prevent a clean build and may cause issues with CI/CD pipelines.
Any guidance on how to proceed while maintaining compatibility with Xcode 16 would be greatly appreciated.
Thank you for your time and assistance!
The text was updated successfully, but these errors were encountered:
Sendable-related warnings in Xcode 16
Description
When using LightweightCharts in Xcode 16, I'm encountering Sendable-related warnings that are preventing a clean build. These warnings appear to be related to concurrency features introduced in newer Swift versions.
Environment
Warnings
In
ChartColor.swift
:In
PromptHandler.swift
:Are these warnings expected when using LightweightCharts with Xcode 16?
Is there a recommended way to suppress or resolve these warnings without modifying the pod's source code?
Are there plans to update LightweightCharts to fully support the latest Swift concurrency features and remove these warnings?
Thank you for your time and assistance!
The text was updated successfully, but these errors were encountered: