Codling moth
the stalk. The larvae get through five stages in approximately 4 weeks. Fully grown larvae leave the fruits and spin cocoons under loose bark, cracks in [...] Depending on the climate, there are one, two or more generations per year. The fully grown caterpillars of the last generation overwinter and pupate in spring