Add the diced apples, butter, brown sugar, granulated white sugar, vanilla and spices to a small saucepan. Heat over medium heat, stirring occasionally, until the apples are tender, about 15-18 minutes. Then let the apple filling cool completely.
2 1/2 cups (350 g) apples peeled and diced into 1/2 inch pieces, 2 tbsp (28 g) unsalted butter, 1/4 cup (55 g) brown sugar, packed, 2 tbsp (25 g) granulated white sugar, 1 tsp vanilla, 1 tsp ground cinnamon, 1/4 tsp ground nutmeg, 1/4 tsp ground allspice, 1/4 tsp ground ginger, 1/8 tsp ground cloves