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

Sendable-related warnings in Xcode 16 #72

Open
AIFlowML opened this issue Sep 30, 2024 · 0 comments
Open

Sendable-related warnings in Xcode 16 #72

AIFlowML opened this issue Sep 30, 2024 · 0 comments

Comments

@AIFlowML
Copy link

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

  • Xcode Version: 16.0
  • Swift Version: 5.7
  • LightweightCharts Version: 4.0.0
  • iOS Deployment Target: iOS 17 up

Warnings

  1. In ChartColor.swift:

    Class 'ChartColor' must restate inherited '@unchecked Sendable' conformance
    
  2. In PromptHandler.swift:

    Add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
    
  3. Are these warnings expected when using LightweightCharts with Xcode 16?

  4. Is there a recommended way to suppress or resolve these warnings without modifying the pod's source code?

  5. 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!

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

1 participant