Preheat oven to 350 degrees. Spray a 9x13 pan with non-stick cooking spray.
In a large bowl whisk together sugar, eggs, oil, and vanilla, until combined.
In a medium bowl whisk together, flour, cinnamon, nutmeg, baking soda, and salt.
Add the dry ingredients to the wet ingredients and mix until combined.
Fold in the diced apples and pecans.
Pour batter into prepared baking pan. Bake 50-55 minutes or until a toothpick comes out clean.
Let the cake cool
Cream Cheese Frosting
In a medium bowl add softened cream cheese and butter. Using a hand mixer beat until smooth. Add in confectioners’ sugar and vanilla and beat until smooth.