hyperoslo / hyperoslo/Lightbox

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

Open
#300 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.7k
Forks
332
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.