Separate eggs for egg yolks and egg whites. Set aside.
Wash, peel, and cut fresh apples into small cubes.
In the frying pan, add apple cubes and cinnamon powder, cover with the lid, and cook for about 10-15 minutes. Turn off the heat and let it cool.
In the mixing bowl, whisk flour, baking powder, and powdered sugar. Set aside.
In the mixing bowl of a stand mixer, sift the flour mixture. Add cubes of unsalted butter and egg yolks. Using a pedal attachment, mix until all combine.
In the other mixing bowl, add egg whites and salt. Whisk for about 30 seconds. Add granulated white sugar and whisk for about 5 minutes over medium speed. You need to make French meringue.
Add lemon juice to the French meringue and whisk again for 15-20 seconds.
Line up the baking pan with parchment paper.
Add about 3/4 of the dough into the pan and press lightly with your fingers.
Spread cooked apples over the dough with the help of a spatula or spoon.
Add French meringue and spread over apples.
Top with the remaining dough.
Bake at 350oF (180oC) for 40-45 minutes at 350°F (180°C) or until the top of the cake is light brown.
Remove the cake from the oven and let it cool to room temperature.
Cut into squares and enjoy!
Notes
Eggs should be at room temperature. Unsalted butter can be straight from the fridge.When you are cooking apples, you can add water or apple sauce to keep them more liquid.