Skip to content

Assertion failure in -[UIGestureGraphEdge initWithLabel:sourceNode:targetNode:directed:], UIGestureGraphEdge.m:28 in iOS App #71

@way2coder

Description

@way2coder

I tried to put the button component of Linkhut about Ableton Link settings into my project, but I found that no matter where I put it (into the navigation bar, into the top content view, or anywhere else), I couldn't click the settings page of Ableton Link. Once I clicked it, the following error would be reported:

*** Assertion failure in -[UIGestureGraphEdge initWithLabel:sourceNode:targetNode:directed:], UIGestureGraphEdge.m:27 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: sourceNode'
*** First throw call stack:libc++abi: terminating due to uncaught exception of type NSException

And my program will stop at the top app level after a short time, reporting the error Thread 1: "Invalid parameter not satisfying: targetNode" in Thread.

Please tell me where I should start to solve my problem. My minimum deployment is iOS 18 (but after my test, this has nothing to do with the version of iOS). Thanks!

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