Why might a cane spider be observed near a piece of fruit?

Answer

They are hunting small insects attracted to the fruit.

If a cane spider is found near fruit, it is there to prey upon smaller creatures like gnats or fruit flies that the produce has attracted, not because the spider is interested in the produce itself.

Why might a cane spider be observed near a piece of fruit?
dietspiderarachnidpreycane spider