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

Concurrency-related build error in Swift 6 due to non-isolated static property #300

Open
nawinest opened this issue Jun 28, 2024 · 1 comment

Comments

@nawinest
Copy link

nawinest commented Jun 28, 2024

With the introduction of stricter concurrency rules in Swift 6, we've encountered a critical build error in our project that we're unable to resolve due to its origin in a pod dependency. The specific error message is:

Static property 'image' is not concurrency-safe because it is non-isolated global shared mutable state

This error is preventing our entire application from building successfully. As the issue stems from a pod, we don't have direct control over the code causing the problem.

Are there any temporary workarounds we could implement in our project to bypass this error while a more permanent solution is developed? or Lightbox developer will fix it soon?

Any assistance or insights would be greatly appreciated as this is blocking our development process.

Environment:

  • Swift version: 6
  • Xcode version: 16 beta
  • Pod name and version: 2.5.0

Thank you for your time and support.

image
@nawinest nawinest changed the title LightBox not support Swift 6 ( Concurrency API ) Concurrency-related build error in Swift 6 due to non-isolated static property Jun 28, 2024
@3lvis
Copy link
Collaborator

3lvis commented Jun 28, 2024

Hi @nawinest,

This isn't an actively maintained Library. I would suggest you create a fork and manage the dependency in a way that better suits your needs.

Having said that I would be happy to review any PR that improves this issue.

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