Open alexlarocca opened 2 years ago
This is the error:
[ERROR] can't find selector layer for <null>
[ERROR] -[NSNull layer]: unrecognized selector sent to instance 0x1f48fbaa0
[ERROR] /hyperloop/uikit/uiview.js:242
[ERROR] return new $imports.CALayer($dispatch(this.$native, 'layer'));
[ERROR] ^
[ERROR] : -[NSNull layer]: unrecognized selector sent to instance 0x1f48fbaa0
[ERROR] at dispatch ([native code])
[ERROR] at get (/hyperloop/uikit/uiview.js:242:42)
And this is the code causing it:
nativeView.layer.addSublayer(shape);
The following code draws some shapes using Hyperloop and add them to a view. If I add and remove the shapes a couple of times, the app suddenly crashes. I do not see any error on the console.
Tested with both simulator and physical iPad with iOS 15. Ti SDK 10.1.0.GA