Texture icon indicating copy to clipboard operation
Texture copied to clipboard

`-[NSNull _removeFromSupernodeIfEqualTo:]`: unrecognized selector sent to instance

Open JohnEstropia opened this issue 3 years ago • 0 comments

I've started seeing this in the wild from an app built with Xcode 13.3:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull _removeFromSupernodeIfEqualTo:]: unrecognized selector sent to instance 0x1db948558'

The crash happens on this line in ASLayoutTransition.mm, which seems to suggest that _removedSubnodes is being passed an NSArray with instances of NSNull in it.

I couldn't reproduce it in debug builds so It may be an optimization issue.

Edit: Confirmed that issue doesn't happen on Xcode 13.2 builds.

JohnEstropia avatar Mar 16 '22 15:03 JohnEstropia