This sounds very similar to the issue of trying to check for collisions between instances of the same object. The solution there is to add hidden ‘collision’ objects and stick/link them to the actual objects. Then check for a collision between the real object and the collision object. See here for more details:
So in this case perhaps you need to draw a line between your apple objects and a new, hidden linked object attached to each apple…