Heat up your oven before using it: Set the temperature to 350°F (175°C). Prepare a 9×9-inch square baking pan or a cake pan of similar size by greasing and flouring it.
Get ready for the drought. Ingredients: In a medium bowl, mix the flour, baking powder, baking soda, salt, cinnamon, and nutmeg. Put this to the side.
Mix the butter and sugar: In a big bowl, mix the soft butter and 1 cup of sugar until it becomes light and fluffy.
Include eggs and vanilla: Mix the eggs one by one, then add the vanilla extract. Mix until everything is well mixed together.
Add the dry ingredients little by little to the wet ingredients, alternating with the sour cream. Begin by adding the dry ingredients first and finish with them as well. Stir until everything is mixed together. Be cautious not to mix too much; you want the cake to be soft.
Mix the diced apples into the batter carefully.
Put the mixture into the baking pan, making sure it is spread evenly.