In a pinch you can use canned apples. Be sure to drain the apples well. The consistency of the batter may be a little more liquidy than usual. Account for this by adjusting your baking time by 5-10 minutes. Check if the cake is done by inserting a toothpick.