Got this weird error today while futzing around with AutoLayout, or more specifically VFL, Visual Format Language:
2016-08-11 11:05:00.915 TestTruckButton[74067:6491323] -[UIImage nsli_superitem]: unrecognized selector sent to instance 0x7fb8fbc4ae80 2016-08-11 11:05:00.924 TestTruckButton[74067:6491323] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImage nsli_superitem]: unrecognized selector sent to instance 0x7fb8fbc4ae80' *** First throw call stack: ( 0 CoreFoundation 0x000000010301cd85 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x0000000104dc3deb objc_exception_throw + 48 2 CoreFoundation 0x0000000103025d3d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205 3 CoreFoundation 0x0000000102f6bcfa ___forwarding___ + 970 4 CoreFoundation 0x0000000102f6b8a8 _CF_forwarding_prep_0 + 120 5 Foundation 0x00000001034037af -[NSLayoutConstraintParser findContainerView] + 49 6 Foundation 0x00000001034033ae -[NSLayoutConstraintParser finishConstraint] + 691 7 Foundation 0x0000000103402986 -[NSLayoutConstraintParser parse] + 375 8 Foundation 0x00000001034025c6 +[NSLayoutConstraintParser constraintsWithVisualFormat:options:metrics:views:] + 91 ....... ....... ....... libc++abi.dylib: terminating with uncaught exception of type NSException
This happened because you tried to use an UIImage instead of an UIImageView in VFL. Just leaving this here so AltaVista & Co. can find it.