Skip to content

Upgrading to 1.8.0 or 1.8.1 results in Call to main actor-isolated initializer 'init(__:)' in a synchronous nonisolated context #46

Closed
@mazz

Description

Describe the Bug
Upgrading a pre-swift 6 xcode project with LNPopupUI to 1.8.0 or 1.8.1 results in Call to main actor-isolated initializer 'init(__:)' in a synchronous nonisolated context

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade LNPopupUI via Xcode Package Manager to either 1.8.0 or 1.8.1
  2. Xcode 15.4
  3. strict concurrency set to Minimal

Expected Behavior
LNPopupUI compiles

Screenshots
Screenshot 2024-07-30 at 15 55 14

Additional Context
no issue with 1.7.7

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions