Preheat the over to 350°F and prepare a 9x9 in baking dish by lining it with parchment paper and spraying the paper with cooking spray.
In a mixing bowl, whisk together the dry ingredients.
180 grams or 1 ½ cups all-purpose flour, 10 grams or 1 tablespoon cornstarch, 4 grams or ½ teaspoon baking soda, 6 grams or 1 teaspoon baking powder, 4 grams or ½ teaspoon salt, 2 teaspoons cinnamon, ½ teaspoon ground nutmeg
In the bowl of a stand mixer use the paddle attachment on medium-low speed to cream the butter and sugar until light and fluffy, about 5 minutes. Add the eggs one at a time, completely incorporating the first egg before adding the next.
6 tablespoons unsalted butter, 200 grams or 1 cup granulated sugar, 2 eggs
Add in the milk, sourdough starter, and vanilla extract and mix until everything is incorporated together.
90 grams or ½ cup whole milk, 170 grams or ¾ cup sourdough discard, 1 teaspoon vanilla extract
With the mixer on low, start adding the flour mixture a large spoonful at a time until you’ve added all the flour. Don’t worry if all the flour is not mixed in yet.
In the bowl you had your flour mixture in, toss the apple pieces with ⅓ cup of all-purpose flour, salt, cinnamon, and nutmeg until they are all well coated. Add the apples to your mixing bowl and gently fold them in along with any remaining dry flour in the mixture.
2 large apples, ¼ teaspoon fine sea salt, 1 teaspoon cinnamon, ¼ teaspoon ground nutmeg, ⅓ cup all-purpose flour
Once everything is well incorporated, pour the batter into the prepared baking dish and sprinkle about 2 tablespoons of granulated sugar over the top of the batter.
Bake at 350°F for 45-50 minutes. You want the top to be golden brown and a toothpick or cake tester to come out cleanly after inserted in the center.
Cool completely, optionally top with your favorite icing, serve (with vanilla ice cream like we do), and enjoy!