Skip to content

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

@serenatesting

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions