Peel and dice apples into small cubes, about ¼ inches.
Melt butter in a pot over medium heat. Add diced apples and cook for 4-5 minutes until they release their juices.
In a medum bowl, mix brown sugar, cornstarch, cinnamon, cloves, nutmeg, and salt. Add mixture to apples and toss.
Simmer for 5-6 minutes until the juice thickens into a glaze. Remove from heat and let it cool.
Preheat the oven to 350°F and line a baking sheet with parchment paper.
Cream butter and sugar until fluffy with an electric mixer or whisk. Add egg and vanilla, and beat until smooth.
Continue beating in flour, baking powder, and salt until uniform.
Roll dough into 10 balls and place on sheets with space between.
Use your thumb to make an indentation in each cookie. Fill with 1 teaspoon of apple pie filling each dough.
Bake for 12-14 minutes until lightly browned.
Cool on the sheet for 5 minutes, then transfer to a rack to cool completely.
Notes
Use room temperature ingredients. For this apple pie cookie recipe, the butter and eggs need to be room temperature. This will ensure the mixture incorporates well and the cookies bake evenly.Don’t overcook the apples. Cook the apples until they are slightly soft and the juice has thickened.Line a cookie sheet. This can be done using parchment paper or a silicone mat for easy clean up and even temperature distribution.Use a cookie scoop. This helps to form the cookie dough into the perfect shape for cookies. It also helps the cookies bake evenly.