I am working on sprite kit and now I have a group of SKActions where many nodes perform different actions together. It is after every time the app becomes active from inactive state.
Also I have a double tap gesture recognizer to remove the node from parent and its data. Every time I make the app becomes active, and then tried to remove a node with my gesture, it will give me a NSRangeException.
I don't have any possible errors in my loop. I believe it is because of the group of skactions being performed together because after I comment that line, everything goes fine when I delete nodes.
So what is wrong with it? (I tried to remove actions before deleting but still wrong).