Preheat oven to 350°F and spray a 12-count muffin tin with nonstick spray.
Cut the cookie dough into 12 equal pieces and press each piece into the muffin tins.
16 ounces refrigerated sugar cookie dough
Bake the cookie cups for 10 minutes. Remove and cool for 5 minutes.
While the cookie cups are baking, make the pie filling.
Cook the apples with the butter, for 4 minutes, then stir in the flour.
3 cups diced apples, 2 tablespoons unsalted butter, 2 tablespoons all-purpose flour
Add the sugars and apple pie spice and cook for another 3 minutes.
¼ cup granulated sugar, ¼ cup brown sugar, 1 tablespoon apple pie spice
Spoon the apple filling into the cookie cups.
Make the crumb topping by combining the butter, sugar, cinnamon, and flour with a fork till it forms a small crumbly texture. Sprinkle over the apple filling.
4 tablespoons unsalted butter, ½ cup brown sugar, ½ teaspoon ground cinnamon, ½ cup all-purpose flour
Place in the oven and bake for another 10 minutes.
Remove and serve with a drizzle of caramel sauce and a scoop of ice cream, if desired.
Caramel sauce