Skip to content

Getting Main actor-isolated initializer 'init()' has different actor isolation from nonisolated overridden declaration issue #488

Description

@serenatesting

Summary

I’m seeing the compiler error:

Main actor-isolated initializer 'init()' has different actor isolation from nonisolated overridden declaration

when subclassing NeedleFoundation.Component. happens on a clean build project.

Steps to reproduce

  • Needle version: v0.25.1 (SPM)
  • Xcode: 26
  • Swift: 5
  • Platform: iOS
import NeedleFoundation
import UIKit

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions