Preheat oven to 350 degrees.
Coat a 9-by-13-inch pan with cooking spray. Mix apple pieces, brown sugar and cinnamon and set aside.
Combine flour, sugar, baking powder, salt, softened butter and 1 egg. Pat crust down tight in the pan and set aside.
Whip the cream cheese until light and fluffy. Add 2 eggs and beat until incorporated. Add vanilla and melted butter. Beat until well blended. Add the confectioners’ sugar about a cup at the time, until blended.
Gently fold in the apple mixture. Pour this mixture over the crust. Bake until the center is soft and a little jiggly in center. Don’t overcook or it will be dry. Hard to put exact time as all ovens are different.
Optional: Add a dollop of whipped cream and a drizzle of caramel sauce.